Skip to content

Commit 6d5ce21

Browse files
author
hyd-dev
committed
Cleanup test-cargo-miri/run-test.py
1 parent 46af189 commit 6d5ce21

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test-cargo-miri/run-test.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,10 @@ def test_cargo_miri_run():
8383
},
8484
)
8585
# Special test: run it again *without* `-q` to make sure nothing is being rebuilt (Miri issue #1722)
86-
test_no_rebuild("`cargo miri run` (no rebuild, no isolation)",
86+
test_no_rebuild("`cargo miri run` (no rebuild)",
8787
cargo_miri("run", quiet=False) + ["--", ""],
88-
env={'MIRITESTVAR': "wrongval"},
88+
env={'MIRITESTVAR': "wrongval"}, # changing the env var causes a rebuild (re-runs build.rs),
89+
# so keep it set
8990
)
9091
test("`cargo miri run` (with arguments and target)",
9192
cargo_miri("run") + ["--bin", "cargo-miri-test", "--", "hello world", '"hello world"'],

0 commit comments

Comments
 (0)