From 8e830d82ef2abb56efb2ef60e3b757c31a16ec73 Mon Sep 17 00:00:00 2001 From: DeaDDooMER Date: Sun, 13 Aug 2017 16:36:40 +0300 Subject: [PATCH] =?utf8?q?=D0=9C=D0=B5=D0=BD=D1=8C=D1=88=D0=B5=20=D0=B2?= =?utf8?q?=D1=8B=D1=81=D0=B5=D1=80=D0=B0=20=D0=B2=20=D1=82=D0=B5=D1=81?= =?utf8?q?=D1=82=D0=B0=D1=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- obn-run-tests.sh | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/obn-run-tests.sh b/obn-run-tests.sh index 28971d1..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 -- 2.29.2