From a66dc847f71255c361b1350b1ee38b35dffb7454 Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Wed, 11 Sep 2019 14:43:15 +0200 Subject: [PATCH] t: report missing output as TODO TAP syntax to report expected failure. --- t/regress.t | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/t/regress.t b/t/regress.t index 734e42d..eedefbb 100755 --- 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 != $? -- 2.30.0