ref: 4bcd424a3c2245591086278345298dd045fd2a49
parent: d3146363d06a1e60abea505bbcc718b72911f884
author: Paul Brossier <piem@piem.org>
date: Wed Jun 2 21:10:10 EDT 2010
Makefile.am: include examples/ for jackio.h, add test-mathutils.c, simplify run command
--- a/tests/src/Makefile.am
+++ b/tests/src/Makefile.am
@@ -1,4 +1,4 @@
-AM_CFLAGS = -I$(top_srcdir)/src
+AM_CFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/examples
AM_LDFLAGS = -L$(top_builddir)/src -laubio @FFTWLIB_LIBS@
test_phasevoc_jack_CFLAGS = $(AM_CFLAGS) @JACK_CFLAGS@
@@ -30,10 +30,11 @@
test-beattracking \
test-onset \
test-tempo \
+ test-mathutils \
test-tss
run-tests: $(bin_PROGRAMS)
- @for i in $(bin_PROGRAMS); do echo $$i; ((time ./$$i 2>&1 > /dev/null) 2>&1; echo $$?); done
+ @for i in $(bin_PROGRAMS); do echo -n $$i\ ; ./$$i > /dev/null && echo OK || echo FAILED: $$?; done
run-valgrind-tests: $(bin_PROGRAMS)
@for i in $(bin_PROGRAMS); do echo $$i; valgrind .libs/lt-$$i 2>&1 | grep ERROR\ SUMMARY -A4; echo $$?; done