X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=obn-run-tests.sh;h=62fc96760156fc02822c440e67fdc10232c438b4;hb=8e830d82ef2abb56efb2ef60e3b757c31a16ec73;hp=f483e01a2634ae6574da0e2a8ed8e7f4c00fc374;hpb=3d4021b9a2dd52aaf4b97859a8a58b74903ebac9;p=dsw-obn.git diff --git a/obn-run-tests.sh b/obn-run-tests.sh index f483e01..62fc967 100755 --- a/obn-run-tests.sh +++ b/obn-run-tests.sh @@ -5,12 +5,17 @@ set -e maketest() { local OK=1 - if ! ./obn-compile.sh $1; then - OK=0; echo "Test fail: $1 compile-time $?" + local LOG="" + if ! LOG="$(./obn-compile.sh $1)"; then + OK=0; + echo "$LOG" + echo "Test fail: $1 compile-time $?" fi if [ $OK = 1 ]; then if ! ./obn-run.sh $1; then - OK=0; echo "Test fail: $1 run-time $?" + OK=0 + echo "$LOG" + echo "Test fail: $1 run-time $?" fi fi if [ $OK = 1 ]; then @@ -40,3 +45,8 @@ maketest Test8 maketest Test9 maketest Test10 maketest Test11 +maketest Test12 +maketest Test13 +maketest Test14 +maketest Test15 +maketest Test16