X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=tests%2Fbugs%2Fcase-map.sh;h=ed10bff2f61831f0cb0ae4d4627d97c93f9b5e63;hb=33c65b85425187f4cb06f7c8302e49d571c4c3a7;hp=479aea9c80c72a1887db002ef0e700b2070b6ebd;hpb=077c3c1774fd75627783b407169d6884adcbe663;p=pspp diff --git a/tests/bugs/case-map.sh b/tests/bugs/case-map.sh index 479aea9c80..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 } @@ -55,7 +59,7 @@ mkdir -p $TEMPDIR cd $TEMPDIR activity="create program" -cat > $TEMPDIR/foo.sps < $TESTFILE <