Skip to content

Commit 86f13ef

Browse files
berrangebonzini
authored andcommitted
scripts: improve message when TAP based tests fail
If one of the qtests fails, the TAP driver prints out a message like: ERROR - too few tests run (expected 3, got 1) which fails to tell you which test program failed. This is a critical ommission when many tests are running in parallel as their output is interleaved. The improved message is: ERROR endianness-test - too few tests run (expected 3, got 1) Signed-off-by: Daniel P. Berrangé <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
1 parent b3c7344 commit 86f13ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/tap-driver.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ ($;$)
217217

218218
sub testsuite_error ($)
219219
{
220-
report "ERROR", "- $_[0]";
220+
report "ERROR", "$test_name - $_[0]";
221221
}
222222

223223
sub handle_tap_result ($)

0 commit comments

Comments
 (0)