X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fformats%2Fnum-out.sh;h=2d0932f7a8efe23f55ad80b6c37b0130d1947257;hb=1beb9fbbe465dc30bc8f913b3dc90680494d38d9;hp=cf4185aea3f453b86688908b9f1181337bb16f44;hpb=cd4f5bfade86b443d1ec355c2dd8be205846b32f;p=pspp diff --git a/tests/formats/num-out.sh b/tests/formats/num-out.sh index cf4185aea3..2d0932f7a8 100755 --- a/tests/formats/num-out.sh +++ b/tests/formats/num-out.sh @@ -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 @@ -45,12 +45,12 @@ if [ $? -ne 0 ] ; then no_result ; fi echo -n . activity="run program" -$SUPERVISOR $PSPP --testing-mode num-out.pspp +$SUPERVISOR $PSPP -o pspp.csv num-out.pspp 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 .