X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=tests%2Fformats%2Fib-in.sh;h=f91915b2fdca235fdb2600565dae642fb6398267;hb=refs%2Fbuilds%2F20100824040503%2Fpspp;hp=0519d27d495d1879b3c0b100d68ea5cfa0b02f28;hpb=cd4f5bfade86b443d1ec355c2dd8be205846b32f;p=pspp diff --git a/tests/formats/ib-in.sh b/tests/formats/ib-in.sh index 0519d27d49..f91915b2fd 100755 --- a/tests/formats/ib-in.sh +++ b/tests/formats/ib-in.sh @@ -6,7 +6,7 @@ TEMPDIR=/tmp/pspp-tst-$$ 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 : ${PERL:=perl} # ensure that top_srcdir is absolute @@ -18,6 +18,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 ib-in.pspp +$SUPERVISOR $PSPP -o pspp.csv ib-in.pspp if [ $? -ne 0 ] ; then no_result ; fi activity="gunzip expected results"