X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Fdo-repeat.sh;h=0f395422f50180cb5b736f86ab9c37358e063c5d;hb=4f6a8477ebd647fb96747790cc89ec5f26d68a07;hp=0a702633c120c070897a37ab812347484ff160e1;hpb=c1629e9b28338e59f9e4c027f3792a9419840a2c;p=pspp-builds.git diff --git a/tests/command/do-repeat.sh b/tests/command/do-repeat.sh index 0a702633..0f395422 100755 --- a/tests/command/do-repeat.sh +++ b/tests/command/do-repeat.sh @@ -20,6 +20,10 @@ export STAT_CONFIG_PATH cleanup() { + if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then + echo "NOT cleaning $TEMPDIR" + return ; + fi cd / rm -rf $TEMPDIR } @@ -60,7 +64,7 @@ BEGIN DATA. 0 END DATA. -DO REPEAT h = h0 TO h3 / x = 0 TO 3 / y = 8, 7, 6, 5. +DO REPEAT h = h0 TO h3 / x = 0 TO 3 / y = 8, 7.5, 6, 5. COMPUTE h = x + y. END REPEAT. @@ -80,7 +84,7 @@ EOF if [ $? -ne 0 ] ; then no_result ; fi activity="run program" -$SUPERVISOR $PSPP --testing-mode -o raw-ascii $TESTFILE +$SUPERVISOR $PSPP --testing-mode $TESTFILE if [ $? -ne 0 ] ; then no_result ; fi activity="compare results" @@ -88,7 +92,7 @@ perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list diff -b $TEMPDIR/pspp.list - <