From 96331849f73b6a5d5e05ce6584fc597e80a69c34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Thu, 28 Sep 2006 10:15:10 +0000 Subject: allow to set pd-binary with ${PD} svn path=/trunk/externals/zexy/; revision=6043 --- tests/runtests.sh | 9 +++++++-- tests/runtests.txt | 4 ++-- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'tests') 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~; -- cgit v1.2.1