Greatly simplify PSPP configuration.
[pspp-builds.git] / tests / bugs / crosstabs.sh
index 818682d7301f0733d0c74dc27907e78cab59920d..6f02a5087ae4f9fdcabe2072814a4d6765142d02 100755 (executable)
@@ -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
 }
@@ -80,7 +84,7 @@ EOF
 if [ $? -ne 0 ] ; then no_result ; fi
 
 
-$SUPERVISOR $PSPP --testing-mode $TEMPDIR/ct.stat
+$SUPERVISOR $PSPP -o pspp.csv $TEMPDIR/ct.stat
 if [ $? -ne 0 ] ; then fail ; fi