X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fbugs%2Fcase-map.sh;h=ed10bff2f61831f0cb0ae4d4627d97c93f9b5e63;hb=a45fa3f76f32c391c756b7e4334330458d74a1ab;hp=ab9971f0f3f9b81f39398cd38286f341089f5d90;hpb=74b0fe8828a66287c819be238a6592fb78ad40f4;p=pspp diff --git a/tests/bugs/case-map.sh b/tests/bugs/case-map.sh index ab9971f0f3..ed10bff2f6 100755 --- a/tests/bugs/case-map.sh +++ b/tests/bugs/case-map.sh @@ -11,7 +11,7 @@ TESTFILE=$TEMPDIR/`basename $0`.sps if [ -z "$top_builddir" ] ; then top_builddir=. ; fi if [ -z "$top_srcdir" ] ; then top_srcdir=. ; fi top_builddir=`cd $top_builddir; pwd` -PSPP=$top_builddir/src/ui/terminal/pspp +PSPP=$top_builddir/src/ui/terminal/pspp$EXEEXT # ensure that top_srcdir is absolute top_srcdir=`cd $top_srcdir; pwd` @@ -22,6 +22,10 @@ export STAT_CONFIG_PATH cleanup() { + if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then + echo "NOT cleaning $TEMPDIR" + return ; + fi cd / rm -rf $TEMPDIR } @@ -68,7 +72,7 @@ EOF if [ $? -ne 0 ] ; then no_result ; fi activity="run program" -$SUPERVISOR $PSPP --testing-mode -e /dev/null $TESTFILE +$SUPERVISOR $PSPP -o pspp.csv -e /dev/null $TESTFILE if [ $? -ne 0 ] ; then fail ; fi pass;