aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Hoersken <info@marc-hoersken.de>2020-03-04 22:36:47 +0100
committerMarc Hoersken <info@marc-hoersken.de>2020-03-04 22:36:47 +0100
commit30f7360025010e237462ca1a697c8e55b4a73c92 (patch)
tree1f08a9954ebf9c6a8aa8a2ac98fc5a9cfde158cb
parent3c1b9145c78de3370c548ead90537c91d9803073 (diff)
tests: wrap ignored test failures in braces
-rwxr-xr-xtests/runtests.pl8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index 7a5f8a504..50c868390 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -5588,7 +5588,13 @@ foreach $testnum (@at) {
$total++; # number of tests we've run
if($error>0) {
- $failed.= "$testnum ";
+ if($error==2) {
+ # ignored test failures are wrapped in ()
+ $failed.= "($testnum) ";
+ }
+ else {
+ $failed.= "$testnum ";
+ }
if($postmortem) {
# display all files in log/ in a nice way
displaylogs($testnum);