diff options
author | Daniel P. Berrangé <berrange@redhat.com> | 2020-07-06 13:50:54 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-07-10 19:26:55 -0400 |
commit | 86f13ef31806e5f829ee3d9ed82694f44dd1c02d (patch) | |
tree | a37e669abdded92a3731ed0e056d5e350e6578e1 /scripts | |
parent | b3c7344e338b04be9feaf7ac6693c2f7fc951b89 (diff) | |
download | qemu-86f13ef31806e5f829ee3d9ed82694f44dd1c02d.zip qemu-86f13ef31806e5f829ee3d9ed82694f44dd1c02d.tar.gz qemu-86f13ef31806e5f829ee3d9ed82694f44dd1c02d.tar.bz2 |
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é <berrange@redhat.com>
Message-Id: <20200706125054.2619012-1-berrange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/tap-driver.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/tap-driver.pl b/scripts/tap-driver.pl index 6621a5c..b1d3880 100755 --- a/scripts/tap-driver.pl +++ b/scripts/tap-driver.pl @@ -217,7 +217,7 @@ sub report ($;$) sub testsuite_error ($) { - report "ERROR", "- $_[0]"; + report "ERROR", "$test_name - $_[0]"; } sub handle_tap_result ($) |