Categoricals: Use moments instead of keeping cc count ourselves
[pspp] / tests / bugs / empty-do-repeat.sh
index ad82c23341decbf91e83d790b0785cdf8a6d15a0..15ef6bebc32f453191f7f7df3cf866ba08ec4159 100755 (executable)
@@ -10,7 +10,7 @@ TESTFILE=$TEMPDIR/`basename $0`.sps
 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
 
 # ensure that top_srcdir is absolute
 top_srcdir=`cd $top_srcdir; pwd`
@@ -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 $TEMPDIR/repeat.stat 
+$SUPERVISOR $PSPP -o pspp.csv $TEMPDIR/repeat.stat 
 if [ $? -ne 0 ] ; then fail ; fi
 
 pass;