diff options
-rwxr-xr-x | tests/runtests.sh | 9 | ||||
-rw-r--r-- | tests/runtests.txt | 4 |
2 files changed, 9 insertions, 4 deletions
diff --git a/tests/runtests.sh b/tests/runtests.sh index 47573c9..e8ce302 100755 --- a/tests/runtests.sh +++ b/tests/runtests.sh @@ -4,6 +4,11 @@ ## find zexy (either in ../src or ../) ## if it is not there, assume it is split into externals +if [ "x${PD}" = "x" ] +then + PD=pd +fi + #SUFFIX="$$" SUFFIX=$(date +%y%m%d-%H%M%S) @@ -17,7 +22,7 @@ ls -1 */*.pd | sed 's/\.pd/;/' > ${RUNTESTS_TXT} LIBFLAGS="-path ../src:../ -lib zexy -path ../abs/" function run_nogui() { - pd ${LIBFLAGS} -nogui runtests_nogui.pd > ${RUNTESTS_LOG} 2>&1 + ${PD} ${LIBFLAGS} -nogui runtests_nogui.pd > ${RUNTESTS_LOG} 2>&1 NUMTESTS=`grep -c . ${RUNTESTS_TXT}` echo "regression-test: ${NUMTESTS} tests total" >> ${RUNTESTS_LOG} @@ -25,7 +30,7 @@ function run_nogui() { } function run_withgui() { - pd ${LIBFLAGS} -stderr runtests.pd > ${RUNTESTS_LOG} 2>&1 + ${PD} ${LIBFLAGS} -stderr runtests.pd > ${RUNTESTS_LOG} 2>&1 } if test "x$1" = "x-gui"; then diff --git a/tests/runtests.txt b/tests/runtests.txt index 788dcdd..e1cccaf 100644 --- a/tests/runtests.txt +++ b/tests/runtests.txt @@ -12,8 +12,8 @@ help-msg/avg~; help-msg/blockmirror~; help-msg/blockswap~; help-msg/date; -help-msg/demultiplex~; help-msg/demultiplex; +help-msg/demultiplex~; help-msg/dfreq~; help-msg/dirac~; help-msg/drip; @@ -33,8 +33,8 @@ help-msg/mavg; help-msg/minmax; help-msg/msgfile; help-msg/multiline~; -help-msg/multiplex~; help-msg/multiplex; +help-msg/multiplex~; help-msg/niagara; help-msg/noish~; help-msg/noisi~; |