From 6d5ce21c92de3bb2bfb9976cf278e7ae11f69d6b Mon Sep 17 00:00:00 2001 From: hyd-dev Date: Sun, 28 Feb 2021 18:13:17 +0800 Subject: [PATCH] Cleanup test-cargo-miri/run-test.py --- test-cargo-miri/run-test.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test-cargo-miri/run-test.py b/test-cargo-miri/run-test.py index 36c6af87d894..81f589705dc3 100755 --- a/test-cargo-miri/run-test.py +++ b/test-cargo-miri/run-test.py @@ -83,9 +83,10 @@ def test_cargo_miri_run(): }, ) # Special test: run it again *without* `-q` to make sure nothing is being rebuilt (Miri issue #1722) - test_no_rebuild("`cargo miri run` (no rebuild, no isolation)", + test_no_rebuild("`cargo miri run` (no rebuild)", cargo_miri("run", quiet=False) + ["--", ""], - env={'MIRITESTVAR': "wrongval"}, + env={'MIRITESTVAR': "wrongval"}, # changing the env var causes a rebuild (re-runs build.rs), + # so keep it set ) test("`cargo miri run` (with arguments and target)", cargo_miri("run") + ["--bin", "cargo-miri-test", "--", "hello world", '"hello world"'],