X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Ftest_template;h=bb1c17ee90aa1229f83a7b26df86373620d2305b;hb=c9995451f0a91a645e1fdfeb9229090001af9c5b;hp=5f30158ad1baaf89630cc9221124666904ad5090;hpb=009350385d97d9fba2b33ea68cfe8b1aeebf1529;p=pspp-builds.git diff --git a/tests/test_template b/tests/test_template index 5f30158a..bb1c17ee 100755 --- a/tests/test_template +++ b/tests/test_template @@ -9,7 +9,9 @@ TESTFILE=$TEMPDIR/`basename $0`.sps if [ -z "$top_srcdir" ] ; then top_srcdir=. ; fi if [ -z "$top_builddir" ] ; then top_builddir=. ; fi top_srcdir=`cd $top_srcdir; pwd` -top_buiddir=`cd $top_builddir; pwd` +top_builddir=`cd $top_builddir; pwd` + +PSPP=$top_builddir/src/ui/terminal/pspp export STAT_CONFIG_PATH=$top_srcdir/config @@ -56,7 +58,7 @@ if [ $? -ne 0 ] ; then no_result ; fi activity="run program" -$SUPERVISOR $top_builddir/src/pspp --testing-mode -o raw-ascii $TESTFILE +$SUPERVISOR $PSPP --testing-mode -o raw-ascii $TESTFILE if [ $? -ne 0 ] ; then no_result ; fi