data-in: Convert tests for date formats to Autotest framework.
[pspp-builds.git] / tests / formats / num-out.sh
index acf1846f79c291d57acf7f2299360be6040ba700..2d0932f7a8efe23f55ad80b6c37b0130d1947257 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
 : ${PERL:=perl}
 
 # ensure that top_srcdir is absolute
@@ -50,7 +50,7 @@ if [ $? -ne 0 ] ; then no_result ; fi
 echo -n .
 
 activity="inexactify results"
-$top_builddir/tests/formats/inexactify < output.txt > output.inexact
+$top_builddir/tests/formats/inexactify$EXEEXT < output.txt > output.inexact
 if [ $? -ne 0 ] ; then no_result ; fi
 echo -n .
 
@@ -65,7 +65,7 @@ if [ $? -ne 0 ] ; then no_result ; fi
 echo -n .
 
 activity="inexactify expected results"
-$top_builddir/tests/formats/inexactify < expected.txt > expected.inexact
+$top_builddir/tests/formats/inexactify$EXEEXT < expected.txt > expected.inexact
 if [ $? -ne 0 ] ; then no_result ; fi
 echo -n .