From: Mischa POSLAWSKY Date: Wed, 11 Sep 2019 12:43:15 +0000 (+0200) Subject: t: report missing output as TODO X-Git-Url: http://git.shiar.nl/barcat.git/commitdiff_plain/e8ddba8c2a6b325ea5700fd6101357cb5757152c t: report missing output as TODO --- 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 != $?