X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Flist.sh;h=3bbcf229ef36fd6d00f363baa21e3abff32e073c;hb=0618de5992e81fb4777a1a638e590ae7a81fd332;hp=57eea9d450c11c8f4731f3ee48037a51cab1ff4f;hpb=c9a3c45e44c1c03d13d4eb186e3817bc836f75f8;p=pspp diff --git a/tests/command/list.sh b/tests/command/list.sh index 57eea9d450..3bbcf229ef 100755 --- a/tests/command/list.sh +++ b/tests/command/list.sh @@ -9,7 +9,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` @@ -78,182 +78,182 @@ EOF if [ $? -ne 0 ] ; then no_result ; fi activity="run program" -$SUPERVISOR $PSPP --testing-mode $TESTFILE +$SUPERVISOR $PSPP -o pspp.csv $TESTFILE if [ $? -ne 0 ] ; then no_result ; fi activity="compare results" -perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list -diff -b $TEMPDIR/pspp.list - <