Auto merge of #1865 - rust-lang:test-cargo-miri, r=RalfJung
improve test-cargo-miri output
This commit is contained in:
commit
d3157def75
1 changed files with 5 additions and 4 deletions
|
|
@ -46,12 +46,13 @@ def test(name, cmd, stdout_ref, stderr_ref, stdin=b'', env={}):
|
|||
# All good!
|
||||
return
|
||||
# Show output
|
||||
print("--- BEGIN stdout ---")
|
||||
print("Test stdout or stderr did not match reference!")
|
||||
print("--- BEGIN test stdout ---")
|
||||
print(stdout, end="")
|
||||
print("--- END stdout ---")
|
||||
print("--- BEGIN stderr ---")
|
||||
print("--- END test stdout ---")
|
||||
print("--- BEGIN test stderr ---")
|
||||
print(stderr, end="")
|
||||
print("--- END stderr ---")
|
||||
print("--- END test stderr ---")
|
||||
fail("exit code was {}".format(p.returncode))
|
||||
|
||||
def test_no_rebuild(name, cmd, env={}):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue