diff --git a/test-cargo-miri/run-test.py b/test-cargo-miri/run-test.py index ec77875d4900..33664737709c 100755 --- a/test-cargo-miri/run-test.py +++ b/test-cargo-miri/run-test.py @@ -61,7 +61,10 @@ def test_cargo_miri_test(): "test.stdout.ref2", "test.stderr.ref" ) +os.chdir(os.path.dirname(os.path.realpath(__file__))) + test_cargo_miri_run() test_cargo_miri_test() + print("TEST SUCCESSFUL!") sys.exit(0) diff --git a/travis.sh b/travis.sh index 77768cf03114..84f9c408dcba 100755 --- a/travis.sh +++ b/travis.sh @@ -24,7 +24,7 @@ echo # Test function run_tests { cargo test --release --all-features - (cd test-cargo-miri && ./run-test.py) + test-cargo-miri/run-test.py } echo "Test host architecture"