X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fxforms%2Fcasefile.sh;h=46e97eab76e86ca332b664a0b3b7d80605bbfbb9;hb=42032f52651da9b17083f5a3782aa12b84ccd19f;hp=8aa61d12e5389529ab5e6520dbeaf979d3ac466c;hpb=009350385d97d9fba2b33ea68cfe8b1aeebf1529;p=pspp diff --git a/tests/xforms/casefile.sh b/tests/xforms/casefile.sh index 8aa61d12e5..46e97eab76 100755 --- a/tests/xforms/casefile.sh +++ b/tests/xforms/casefile.sh @@ -8,6 +8,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 # ensure that top_srcdir is absolute top_srcdir=`cd $top_srcdir; pwd` @@ -57,7 +58,7 @@ EOF if [ $? -ne 0 ] ; then no_result ; fi activity="run program" -$SUPERVISOR $top_builddir/src/pspp --testing-mode $TEMPDIR/casefile.stat > $TEMPDIR/casefile.out +$SUPERVISOR $PSPP --testing-mode $TEMPDIR/casefile.stat > $TEMPDIR/casefile.out if [ $? -ne 0 ] ; then no_result ; fi activity="compare results"