From: Tommaso Cucinotta Date: Sat, 15 Dec 2012 12:05:51 +0000 (+0000) Subject: Allow for keeping succesful tests output directories if the V env variable is non... X-Git-Tag: 2.1.0beta1~1089 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=073561ca63ee3bca0f4446054c04a5c0b479aa53;p=lyx.git Allow for keeping succesful tests output directories if the V env variable is non-null. --- 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 ..