X-Git-Url: http://nitlanguage.org diff --git a/tests/tests.sh b/tests/tests.sh index 147e8cc..8fccfbd 100755 --- a/tests/tests.sh +++ b/tests/tests.sh @@ -103,7 +103,7 @@ for ii in "$@"; do if [ "$ERR" != 0 ]; then echo -n "! " cp "$ff.cmp.err" "$ff.res" - else + elif [ -x "./$ff.bin" ]; then echo -n ". " # Execute if [ -f "$f.args" ]; then @@ -130,6 +130,9 @@ for ii in "$@"; do if [ -s "$ff.err" ]; then cat "$ff.err" >> "$ff.res" fi + else + echo -n "! " + echo "Compilation error" > "$ff.res" fi # Result