3 # This program tests ....
5 TEMPDIR=/tmp/pspp-tst-$$
6 TESTFILE=$TEMPDIR/`basename $0`.sps
10 # ensure that top_srcdir is absolute
11 cd $top_srcdir; top_srcdir=`pwd`
13 export STAT_CONFIG_PATH=$top_srcdir/config
18 if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then
19 echo "NOT cleaning $TEMPDIR"
53 put test set up here ...
54 if [ $? -ne 0 ] ; then no_result ; fi
57 activity="run program"
58 $SUPERVISOR $here/../src/pspp --testing-mode -o raw-ascii $TESTFILE
59 if [ $? -ne 0 ] ; then no_result ; fi
65 if [ $? -ne 0 ] ; then fail ; fi