X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fformats%2Fformat-guesser.sh;h=c84860a737920eb090d4ca74f91f93b70836ec30;hb=0f8c9c6c05632de5cadc70ca5381c1d9cb46960e;hp=ce98b1266bcfbea282b4dd396932d164fd83be1f;hpb=fcf89f04c65835dfb700c9f3ec2a0c33371610e1;p=pspp diff --git a/tests/formats/format-guesser.sh b/tests/formats/format-guesser.sh index ce98b1266b..c84860a737 100755 --- a/tests/formats/format-guesser.sh +++ b/tests/formats/format-guesser.sh @@ -19,9 +19,12 @@ export STAT_CONFIG_PATH cleanup() { + if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then + echo "NOT cleaning $TEMPDIR" + return ; + fi cd / rm -rf $TEMPDIR - : } @@ -183,7 +186,7 @@ activity="create syntax file" if [ $? -ne 0 ] ; then no_result ; fi activity="run program" -$SUPERVISOR $PSPP --testing-mode \ +$SUPERVISOR $PSPP --testing-mode -o pspp.csv \ $TEMPDIR/test.stat >$TEMPDIR/test.err 2> $TEMPDIR/test.out activity="compare output"