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
# ensure that top_srcdir is absolute
top_srcdir=`cd $top_srcdir; pwd`
cd $TEMPDIR
activity="create program"
-cat > $TEMPDIR/foo.sps <<EOF
+cat > $TESTFILE <<EOF
INPUT PROGRAM.
COMPUTE num = 3.
END FILE.
EOF
if [ $? -ne 0 ] ; then no_result ; fi
-$SUPERVISOR $top_builddir/src/pspp -o raw-ascii $TEMPDIR/foo.sps
+$SUPERVISOR $PSPP --testing-mode $TESTFILE
if [ $? -ne 0 ] ; then fail; fi