X-Git-Url: http://nitlanguage.org diff --git a/tests/tests.sh b/tests/tests.sh index 9b42cb3..956c0ab 100755 --- a/tests/tests.sh +++ b/tests/tests.sh @@ -206,17 +206,25 @@ function process_result() echo >>$xml "]]>" nok="$nok $pattern" echo "$ii" >> "$ERRLIST" - else + elif [ -s out/$pattern.res ]; then if [ -n "$tap" ]; then - echo "ok - $description # skip no sav" + echo "no ok - $description" else - echo "[=== no sav ===] out/$pattern.res" + echo "[=== no sav ===] out/$pattern.res is not empty" fi - echo >>$xml "" + echo >>$xml "" echo >>$xml ">$xml out/$pattern.res echo >>$xml "]]>" nos="$nos $pattern" + else + # no sav but empty res + if [ -n "$tap" ]; then + echo "ok - $description" + else + echo "[0k] out/$pattern.res is empty" + fi + ok="$ok $pattern" fi if test -s out/$pattern.cmp.err; then echo >>$xml "