X-Git-Url: http://deadsoftware.ru/gitweb?p=dsw-obn.git;a=blobdiff_plain;f=obn-run-tests.sh;h=da13a65b4dd5b8f39e4294220dcb57a9257d4a01;hp=404c84011aacac3002ce19ea23b0fe738c7d3e4e;hb=d25fb653bfe19a696d3f53abd784d32ba2d3ee03;hpb=f4aa48e4c1e3b81ccbe3da5c33fdaba3a46081dd diff --git a/obn-run-tests.sh b/obn-run-tests.sh index 404c840..da13a65 100755 --- a/obn-run-tests.sh +++ b/obn-run-tests.sh @@ -8,10 +8,12 @@ maketest() if ! ./obn-compile.sh $1; then OK=0; echo "Test fail: $1 compile-time $?" fi - if ! ./obn-run.sh $1; then - OK=0; echo "Test fail: $1 run-time $?" + if [ $OK = 1 ]; then + if ! ./obn-run.sh $1; then + OK=0; echo "Test fail: $1 run-time $?" + fi fi - if [ $OK ]; then + if [ $OK = 1 ]; then echo "Test ok: $1" fi } @@ -34,3 +36,5 @@ maketest Test4 maketest Test5 maketest Test6 maketest Test7 +maketest Test8 +maketest Test9