Greatly simplify PSPP configuration.
[pspp-builds.git] / tests / bugs / compute-sum.sh
index 846ef79e5878864ada167d031aa825aec584b265..455ec39d09599e022119e1b34d550673084a2b13 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
 }
@@ -68,7 +72,7 @@ EOF
 if [ $? -ne 0 ] ; then no_result ; fi
 
 activity="run program"
-$SUPERVISOR $PSPP --testing-mode $TEMPDIR/compute-sum.stat
+$SUPERVISOR $PSPP -o pspp.csv $TEMPDIR/compute-sum.stat
 if [ $? -ne 0 ] ; then no_result ; fi
 
 activity="compare output"