Skip to content

Commit d3157de

Browse files
committed
Auto merge of #1865 - rust-lang:test-cargo-miri, r=RalfJung
improve test-cargo-miri output
2 parents 3ca53e0 + d12d405 commit d3157de

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

test-cargo-miri/run-test.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,13 @@ def test(name, cmd, stdout_ref, stderr_ref, stdin=b'', env={}):
4646
# All good!
4747
return
4848
# Show output
49-
print("--- BEGIN stdout ---")
49+
print("Test stdout or stderr did not match reference!")
50+
print("--- BEGIN test stdout ---")
5051
print(stdout, end="")
51-
print("--- END stdout ---")
52-
print("--- BEGIN stderr ---")
52+
print("--- END test stdout ---")
53+
print("--- BEGIN test stderr ---")
5354
print(stderr, end="")
54-
print("--- END stderr ---")
55+
print("--- END test stderr ---")
5556
fail("exit code was {}".format(p.returncode))
5657

5758
def test_no_rebuild(name, cmd, env={}):

0 commit comments

Comments
 (0)