X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Fdo-repeat.sh;h=452814fa182a6f3a417cf599c3f562ce09912b42;hb=e08ba3a0b4be7ebf4f049fa4ead1f0f1508bd7f8;hp=4ec9ff7799195434f3a424a3c0da66dbee0be302;hpb=dcf9b154cbcaa35c3d8459a201b77eec8bcb30bd;p=pspp-builds.git diff --git a/tests/command/do-repeat.sh b/tests/command/do-repeat.sh index 4ec9ff77..452814fa 100755 --- a/tests/command/do-repeat.sh +++ b/tests/command/do-repeat.sh @@ -9,6 +9,7 @@ TESTFILE=$TEMPDIR/`basename $0`.sps 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` @@ -79,7 +80,7 @@ EOF if [ $? -ne 0 ] ; then no_result ; fi activity="run program" -$SUPERVISOR $top_builddir/src/pspp --testing-mode -o raw-ascii $TESTFILE >/dev/null 2>&1 +$SUPERVISOR $PSPP --testing-mode -o raw-ascii $TESTFILE >/dev/null 2>&1 if [ $? -ne 0 ] ; then no_result ; fi activity="compare results"