make run-test runnable from other directories
This commit is contained in:
parent
8cb0b23c08
commit
b7314369e2
2 changed files with 4 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue