git.shiar.nl
/
barcat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2ae9e6
)
t: report missing output as TODO
author
Mischa POSLAWSKY
<perl@shiar.org>
Wed, 11 Sep 2019 12:43:15 +0000
(14:43 +0200)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Thu, 12 Sep 2019 15:48:11 +0000
(17:48 +0200)
TAP syntax to report expected failure.
t/regress.t
patch
|
blob
|
history
diff --git
a/t/regress.t
b/t/regress.t
index 734e42dbc876cc4864868db745c33728497ab71a..eedefbbb1a7f303d77e56ee306c508700d34ab38 100755
(executable)
--- a/
t/regress.t
+++ b/
t/regress.t
@@
-45,8
+45,14
@@
do
continue
fi
"$@" >$file.out 2>&1
+ elif test -e "$file.out"
+ then
+ "$@" 2>&1 | diffcmd "$file.out" -
else
- if test -e $file.out; then "$@" 2>&1 | diffcmd "$file.out" -; fi
+ color 33
+ echo "not ok $test_count - $name # TODO"
+ color 0
+ continue
fi
if test 0 != $?