Greatly simplify PSPP configuration.
[pspp] / tests / bugs / empty-do-repeat.sh
index 9829230d0911abb3e16cccb5eedd65c04268fa2d..ddc2e7a62fe7421dd9b47ac11bd2feba98395dfe 100755 (executable)
@@ -21,6 +21,10 @@ export STAT_CONFIG_PATH
 
 cleanup()
 {
+     if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then 
+       echo "NOT cleaning $TEMPDIR" 
+       return ; 
+     fi
      cd /
      rm -rf $TEMPDIR
 }
@@ -67,7 +71,7 @@ if [ $? -ne 0 ] ; then no_result ; fi
 
 # Must not crash.
 activity="run program"
-$SUPERVISOR $PSPP --testing-mode $TEMPDIR/repeat.stat 
+$SUPERVISOR $PSPP -o pspp.csv $TEMPDIR/repeat.stat 
 if [ $? -ne 0 ] ; then fail ; fi
 
 pass;