aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2006-09-28 10:15:10 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2006-09-28 10:15:10 +0000
commit96331849f73b6a5d5e05ce6584fc597e80a69c34 (patch)
tree06cb5f534dddc5b4fad338695f12d59316bef7a9
parent1985d7e33f6b03337ac20ed8dc427ba75041d05c (diff)
allow to set pd-binary with ${PD}
svn path=/trunk/externals/zexy/; revision=6043
-rwxr-xr-xtests/runtests.sh9
-rw-r--r--tests/runtests.txt4
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~;