From 356c1c4a942fc69c57e107ed3ea1ac8e551e2513 Mon Sep 17 00:00:00 2001 From: batt Date: Mon, 27 Sep 2010 12:05:05 +0000 Subject: [PATCH] Remove unused tee logs. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4313 38d2e660-2303-0410-9eaa-f027e97ec537 --- test/run_tests.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/run_tests.sh b/test/run_tests.sh index 14a6fb5e..5c7073b7 100755 --- a/test/run_tests.sh +++ b/test/run_tests.sh @@ -73,7 +73,7 @@ runout='/dev/null' [ "$VERBOSE" -ge 3 ] && runout='/dev/stdout' # Needed to get build/exec result code rather than tee's -set -o pipefail +#set -o pipefail rm -rf "${TESTOUT}.old" if [ -d "${TESTOUT}" ] ; then @@ -94,12 +94,12 @@ for src in $TESTS; do [ $VERBOSE -gt 0 ] && echo "Preparing $name..." [ $VERBOSE -gt 4 ] && echo " $PREPARECMD" - if $PREPARECMD 2>&1 | tee >$buildout $testdir/$name.prep; then + if $PREPARECMD 2>&1 >>$buildout; then [ $VERBOSE -gt 0 ] && echo "Building $name..." [ $VERBOSE -gt 4 ] && echo " $BUILDCMD" - if $BUILDCMD 2>&1 | tee >$buildout $testdir/$name.build; then + if $BUILDCMD 2>&1 >>$buildout; then [ $VERBOSE -gt 0 ] && echo "Running $name..." - if ! $exe 2>&1 | tee >$runout $testdir/$name.out; then + if ! $exe 2>&1 >>$runout; then echo "FAILED [RUN]: $name" exit 2 fi -- 2.25.1