data-out: Convert tests for binary and hex formats to Autotest framework.
[pspp-builds.git] / tests / formats / date-out.sh
index 6e28083cfaa2dd697561074582ea9ec9748d471b..fcc1fc79da6dc28b1fba9947646bae52c3ad7db7 100755 (executable)
@@ -8,7 +8,7 @@ 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
 
 # ensure that top_srcdir is absolute
 top_srcdir=`cd $top_srcdir; pwd`
@@ -88,7 +88,7 @@ EOF
 if [ $? -ne 0 ] ; then no_result ; fi
 
 activity="run program"
-$SUPERVISOR $PSPP --testing-mode date-out.pspp
+$SUPERVISOR $PSPP -o pspp.csv date-out.pspp
 if [ $? -ne 0 ] ; then no_result ; fi
 
 activity="compare output"
@@ -510,7 +510,7 @@ EOF
 if [ $? -ne 0 ] ; then no_result ; fi
 
 activity="run program"
-$SUPERVISOR $PSPP --testing-mode bad-date-out.pspp
+$SUPERVISOR $PSPP -o pspp.csv bad-date-out.pspp
 if [ $? -ne 0 ] ; then no_result ; fi
 
 activity="compare output"