]> git.lyx.org Git - lyx.git/commitdiff
Allow for keeping succesful tests output directories if the V env variable is non...
authorTommaso Cucinotta <tommaso@lyx.org>
Sat, 15 Dec 2012 12:05:51 +0000 (12:05 +0000)
committerTommaso Cucinotta <tommaso@lyx.org>
Sat, 15 Dec 2012 12:07:31 +0000 (12:07 +0000)
development/autotests/run-tests.sh

index 3a175e7c60e755ef1eaddffe27282fa66e03399f..a3f7d12eb4cfae8103269bec328707f7f067be82 100755 (executable)
@@ -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 ..