X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=inline;f=tests%2Fcommand%2Fautorecod.sh;h=e4a86dfa6818e85bc2accde1fec975d41c0e3c5f;hb=c9c6d86621b611f04b9132400ead11681fb9df2b;hp=47e00239acf26930ab06a3c2ea2c53752ea27992;hpb=9aff19b717bcc242e16d04c34f348fd79ebdd685;p=pspp-builds.git diff --git a/tests/command/autorecod.sh b/tests/command/autorecod.sh index 47e00239..e4a86dfa 100755 --- a/tests/command/autorecod.sh +++ b/tests/command/autorecod.sh @@ -23,6 +23,10 @@ export LANG cleanup() { + if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then + echo "NOT cleaning $TEMPDIR" + return ; + fi cd / rm -rf $TEMPDIR } @@ -87,37 +91,35 @@ $SUPERVISOR $PSPP --testing-mode $TESTFILE if [ $? -ne 0 ] ; then no_result ; fi activity="test output" -perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list -diff -b $TEMPDIR/pspp.list - <