Allow for keeping succesful tests output directories if the V env variable is non-null.

This commit is contained in:
Tommaso Cucinotta 2012-12-15 12:05:51 +00:00
parent 0b82548b5e
commit 073561ca63

View File

@ -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 ..