X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=obn-run-tests.sh;h=f483e01a2634ae6574da0e2a8ed8e7f4c00fc374;hb=3d4021b9a2dd52aaf4b97859a8a58b74903ebac9;hp=404c84011aacac3002ce19ea23b0fe738c7d3e4e;hpb=6d3cfbfd343c0d069896734e32a8c490f27cb7aa;p=dsw-obn.git diff --git a/obn-run-tests.sh b/obn-run-tests.sh index 404c840..f483e01 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,7 @@ maketest Test4 maketest Test5 maketest Test6 maketest Test7 +maketest Test8 +maketest Test9 +maketest Test10 +maketest Test11