From 94b837d82ecd3893d9f0ab401674cf7607148eca Mon Sep 17 00:00:00 2001 From: batt Date: Mon, 27 Sep 2010 10:44:50 +0000 Subject: [PATCH] Add return value for failed tests. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4310 38d2e660-2303-0410-9eaa-f027e97ec537 --- test/run_tests.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/run_tests.sh b/test/run_tests.sh index 2c6a7ae8..14a6fb5e 100755 --- a/test/run_tests.sh +++ b/test/run_tests.sh @@ -101,12 +101,15 @@ for src in $TESTS; do [ $VERBOSE -gt 0 ] && echo "Running $name..." if ! $exe 2>&1 | tee >$runout $testdir/$name.out; then echo "FAILED [RUN]: $name" + exit 2 fi else echo "FAILED [BUILD]: $name" + exit 3 fi else echo "FAILED [PREPARING]: $name" + exit 4 fi done -- 2.25.1