From 073561ca63ee3bca0f4446054c04a5c0b479aa53 Mon Sep 17 00:00:00 2001 From: Tommaso Cucinotta Date: Sat, 15 Dec 2012 12:05:51 +0000 Subject: [PATCH] Allow for keeping succesful tests output directories if the V env variable is non-null. --- development/autotests/run-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/development/autotests/run-tests.sh b/development/autotests/run-tests.sh index 3a175e7c60..a3f7d12eb4 100755 --- a/development/autotests/run-tests.sh +++ b/development/autotests/run-tests.sh @@ -100,7 +100,7 @@ for tf in $(echo "$TESTS"); do if $cmd > test-log.txt 2>&1; then echo Ok cd .. - rm -rf "out-$t"; + if [ "$V" != "" ]; then rm -rf "out-$t"; fi else echo FAILED cd ..