Greatly simplify PSPP configuration.
[pspp-builds.git] / tests / formats / num-out.sh
index 37b0d2eb16bc287baa1c66931347feec26b11699..acf1846f79c291d57acf7f2299360be6040ba700 100755 (executable)
@@ -9,6 +9,7 @@ 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
+: ${PERL:=perl}
 
 # ensure that top_srcdir is absolute
 top_srcdir=`cd $top_srcdir; pwd`
@@ -44,7 +45,7 @@ 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 .