X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fstats%2Fpercentiles-enhanced.sh;h=c69bacd85f53081b484f17154b1ff378a0286503;hb=c0e45e85a654b657583164b3595994794138cd9e;hp=5c5accbbcf636269d497307983571ba1fc1eedcb;hpb=dfd1972f7bcb550a4fc3b05dbe7e71d12334b0a7;p=pspp diff --git a/tests/stats/percentiles-enhanced.sh b/tests/stats/percentiles-enhanced.sh index 5c5accbbcf..c69bacd85f 100755 --- a/tests/stats/percentiles-enhanced.sh +++ b/tests/stats/percentiles-enhanced.sh @@ -9,7 +9,7 @@ TEMPDIR=/tmp/pspp-tst-$$ 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` @@ -81,7 +81,7 @@ EOF if [ $? -ne 0 ] ; then no_result; fi activity="run program $i" -$SUPERVISOR $PSPP --testing-mode $TEMPDIR/prog.sps +$SUPERVISOR $PSPP -o pspp.csv $TEMPDIR/prog.sps if [ $? -ne 0 ] ; then no_result ; fi activity="compare output $i" @@ -95,6 +95,7 @@ Value Label,Value,Frequency,Percent,Valid Percent,Cum Percent ,5.00,1,20.00,20.00,100.00 Total,,5,100.0,100.0, +Table: X N,Valid,5 ,Missing,0 Mean,,3.00 @@ -137,7 +138,7 @@ if [ $? -ne 0 ] ; then no_result; fi activity="run program $i" -$SUPERVISOR $PSPP --testing-mode $TEMPDIR/prog.sps +$SUPERVISOR $PSPP -o pspp.csv $TEMPDIR/prog.sps if [ $? -ne 0 ] ; then no_result ; fi activity="compare output $i" @@ -151,6 +152,7 @@ Value Label,Value,Frequency,Percent,Valid Percent,Cum Percent ,5.00,2.00,20.00,20.00,100.00 Total,,10.00,100.0,100.0, +Table: X N,Valid,10.00 ,Missing,.00 Mean,,3.00 @@ -191,7 +193,7 @@ if [ $? -ne 0 ] ; then no_result; fi activity="run program $i" -$SUPERVISOR $PSPP --testing-mode $TEMPDIR/prog.sps +$SUPERVISOR $PSPP -o pspp.csv $TEMPDIR/prog.sps if [ $? -ne 0 ] ; then no_result ; fi activity="compare output $i" @@ -204,6 +206,7 @@ Value Label,Value,Frequency,Percent,Valid Percent,Cum Percent ,5.00,2.00,33.33,33.33,100.00 Total,,6.00,100.0,100.0, +Table: X N,Valid,6.00 ,Missing,.00 Mean,,3.50 @@ -244,7 +247,7 @@ if [ $? -ne 0 ] ; then no_result; fi activity="run program $i" -$SUPERVISOR $PSPP --testing-mode $TEMPDIR/prog.sps +$SUPERVISOR $PSPP -o pspp.csv $TEMPDIR/prog.sps if [ $? -ne 0 ] ; then no_result ; fi activity="compare output $i" @@ -258,6 +261,7 @@ Value Label,Value,Frequency,Percent,Valid Percent,Cum Percent ,99.00,4.00,40.00,Missing, Total,,10.00,100.0,100.0, +Table: X N,Valid,6.00 ,Missing,4.00 Mean,,3.50