Skip to content

Commit 05f5c3d

Browse files
committed
make sure tests pass even with RUST_TEST_NOCAPTURE set
1 parent 18483b4 commit 05f5c3d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test-cargo-miri/run-test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ def test_cargo_miri_test():
102102
)
103103

104104
os.chdir(os.path.dirname(os.path.realpath(__file__)))
105+
os.environ["RUST_TEST_NOCAPTURE"] = "0" # this affects test output, so make sure it is not set
105106

106107
target_str = " for target {}".format(os.environ['MIRI_TEST_TARGET']) if 'MIRI_TEST_TARGET' in os.environ else ""
107108
print(CGREEN + CBOLD + "## Running `cargo miri` tests{}".format(target_str) + CEND)

0 commit comments

Comments
 (0)