data-in: Convert test for numeric input formats to Autotest framework.
[pspp-builds.git] / tests / formats / date-in.sh
index 67fe5799e4bf9fa57a79388e50bda31ec974a3b3..859283dfd9657345cefbfbfd343036a4e408bce4 100755 (executable)
@@ -8,7 +8,8 @@ trap 'cd /; rm -rf $TEMPDIR' 0
 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
+: ${PERL:=perl}
 
 # ensure that top_srcdir is absolute
 top_srcdir=`cd $top_srcdir; pwd`
@@ -253,7 +254,7 @@ $PERL date-in.pl
 if [ $? -ne 0 ] ; then no_result ; fi
 
 activity="run program"
-$SUPERVISOR $PSPP --testing-mode date-in.pspp
+$SUPERVISOR $PSPP -o pspp.csv date-in.pspp
 if [ $? -ne 0 ] ; then no_result ; fi
 
 activity="compare adate.out output"