aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2011-09-29 07:24:10 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2011-09-29 07:24:10 +0000
commit794f88b86944366ad0bbb482b35f77486660434d (patch)
tree9c78a5a47d8518d0f0fbd36200bd765cf2414fe7
parented954b0b15fe29faaf69f8d5663ac08ec4606d7a (diff)
added test suite
svn path=/trunk/externals/zexy/; revision=15394
-rw-r--r--tests/Makefile.am122
-rwxr-xr-xtests/runtests.sh2
2 files changed, 123 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
new file mode 100644
index 0000000..f0b4422
--- /dev/null
+++ b/tests/Makefile.am
@@ -0,0 +1,122 @@
+AUTOMAKE_OPTIONS = foreign
+
+TESTS=runtests.sh
+
+EXTRA_DIST = \
+ README.txt \
+ runtests.sh \
+ runtests.bat \
+ runtests.txt \
+ testunit.pd
+
+EXTRA_DIST += \
+ msgfile/CR.txt \
+ msgfile/msgfile.txt \
+ testtests/README.txt \
+ absgn~/abs.pd \
+ absgn~/sgn.pd \
+ abs~/simple.pd \
+ and~/dualnoise.pd \
+ and~/singlenoise.pd \
+ eq~/dualnoise.pd \
+ eq~/singlenoise.pd \
+ gt~/dualnoise.pd \
+ gt~/singlenoise.pd \
+ help-msg/0x260x260x7e.pd \
+ help-msg/0x2e.pd \
+ help-msg/0x3c0x7e.pd \
+ help-msg/0x3d0x3d0x7e.pd \
+ help-msg/0x3e0x7e.pd \
+ help-msg/0x7c0x7c0x7e.pd \
+ help-msg/a2l.pd \
+ help-msg/absgn~.pd \
+ help-msg/abs~.pd \
+ help-msg/atoi.pd \
+ help-msg/avg~.pd \
+ help-msg/blockmirror~.pd \
+ help-msg/blockswap~.pd \
+ help-msg/date.pd \
+ help-msg/demultiplex~.pd \
+ help-msg/demultiplex.pd \
+ help-msg/dfreq~.pd \
+ help-msg/dirac~.pd \
+ help-msg/drip.pd \
+ help-msg/envrms~.pd \
+ help-msg/fifop.pd \
+ help-msg/glue.pd \
+ help-msg/index.pd \
+ help-msg/length.pd \
+ help-msg/lifop.pd \
+ help-msg/limiter~.pd \
+ help-msg/list2int.pd \
+ help-msg/list2symbol.pd \
+ help-msg/lister.pd \
+ help-msg/lpt.pd \
+ help-msg/makesymbol.pd \
+ help-msg/mavg.pd \
+ help-msg/minmax.pd \
+ help-msg/msgfile.pd \
+ help-msg/multiline~.pd \
+ help-msg/multiplex~.pd \
+ help-msg/multiplex.pd \
+ help-msg/niagara.pd \
+ help-msg/noish~.pd \
+ help-msg/noisi~.pd \
+ help-msg/operating_system.pd \
+ help-msg/packel.pd \
+ help-msg/pack~.pd \
+ help-msg/pdf~.pd \
+ help-msg/prime.pd \
+ help-msg/quantize~.pd \
+ help-msg/regex.pd \
+ help-msg/relay.pd \
+ help-msg/repack.pd \
+ help-msg/repeat.pd \
+ help-msg/sfplay.pd \
+ help-msg/sfrecord.pd \
+ help-msg/sgn~.pd \
+ help-msg/sigzero~.pd \
+ help-msg/sort.pd \
+ help-msg/step~.pd \
+ help-msg/strcmp.pd \
+ help-msg/sum.pd \
+ help-msg/swap~.pd \
+ help-msg/symbol2list.pd \
+ help-msg/tabdump.pd \
+ help-msg/tabminmax.pd \
+ help-msg/tabset.pd \
+ help-msg/tavg~.pd \
+ help-msg/time.pd \
+ help-msg/unpack~.pd \
+ help-msg/urn.pd \
+ help-msg/wrap.pd \
+ help-msg/zexy_.pd \
+ help-msg/z~.pd \
+ l2s/argument.pd \
+ l2s/delimiter.pd \
+ list2lists/negativelength.pd \
+ lister/inline2.pd \
+ lister/inline.pd \
+ lt~/dualnoise.pd \
+ lt~/singlenoise.pd \
+ msgfile/add2.pd \
+ msgfile/empty_at_end.pd \
+ msgfile/emptyreplace.pd \
+ msgfile/loadingCR.pd \
+ msgfile/loading.pd \
+ msgfile/prev_from_end.pd \
+ msgfile/reentrant.pd \
+ or~/dualnoise.pd \
+ or~/singlenoise.pd \
+ repeat/noargs.pd \
+ runtests_nogui.pd \
+ runtests.pd \
+ s2l/numsymbols.pd \
+ sgn~/simple.pd \
+ testtests/fail_noresult.pd \
+ testtests/fail.pd \
+ testtests/fail_wait0.pd \
+ testtests/fail_wait10.pd \
+ testtests/pass.pd \
+ testtests/pass_wait0.pd \
+ testtests/pass_wait10.pd
diff --git a/tests/runtests.sh b/tests/runtests.sh
index 4b9c7f7..4660d8d 100755
--- a/tests/runtests.sh
+++ b/tests/runtests.sh
@@ -16,7 +16,7 @@ SUFFIX=$(date +%y%m%d-%H%M%S)
RUNTESTS_TXT=runtests.txt
RUNTESTS_LOG=log-runtests.${SUFFIX}
-LIBFLAGS="-path ../src:../ -lib zexy -path ../abs/"
+LIBFLAGS="-path ../src/.libs/:../src/:../ -lib zexy -path ../abs/"
list_tests() {
# find . -mindepth 2 -name "*.pd" | sed 's|\.pd$|;|'