diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2020-09-01 09:14:41 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-09-08 07:17:09 +0200 |
commit | d322e84eef850d1e16bca81ac9b6811f13a8d7a7 (patch) | |
tree | e961a6dfab07e387b764f3971c56111be70db39c /scripts/mtest2make.py | |
parent | 42d729e12c9a03e1140d681a5fdeceb10c4fa548 (diff) | |
download | qemu-d322e84eef850d1e16bca81ac9b6811f13a8d7a7.zip qemu-d322e84eef850d1e16bca81ac9b6811f13a8d7a7.tar.gz qemu-d322e84eef850d1e16bca81ac9b6811f13a8d7a7.tar.bz2 |
mtest2make: hide output of successful tests
The softfloat tests are quite noisy; before the Meson conversion
they buffered the output in a file and emitted the output only
if the test failed. Tweak mtest2make.py so that the courtesy
is extended to all non-TAP tests.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/mtest2make.py')
-rw-r--r-- | scripts/mtest2make.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mtest2make.py b/scripts/mtest2make.py index c709b37..2742508 100644 --- a/scripts/mtest2make.py +++ b/scripts/mtest2make.py @@ -21,7 +21,7 @@ SPEED = quick # $1 = environment, $2 = test command, $3 = test name, $4 = dir .test-human-tap = $1 $(if $4,(cd $4 && $2),$2) < /dev/null | ./scripts/tap-driver.pl --test-name="$3" $(if $(V),,--show-failures-only) -.test-human-exitcode = $1 $(if $4,(cd $4 && $2),$2) < /dev/null +.test-human-exitcode = $1 $(PYTHON) scripts/test-driver.py $(if $4,-C$4) $(if $(V),--verbose) -- $2 < /dev/null .test-tap-tap = $1 $(if $4,(cd $4 && $2),$2) < /dev/null | sed "s/^[a-z][a-z]* [0-9]*/& $3/" || true .test-tap-exitcode = printf "%s\\n" 1..1 "`$1 $(if $4,(cd $4 && $2),$2) < /dev/null > /dev/null || echo "not "`ok 1 $3" .test.print = echo $(if $(V),'$1 $2','Running test $3') >&3 |