X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tests%2FMakefile.am;h=5927f59eff6a2edee32871a901277661ea9c2f10;hb=1b3f6ee3507f712ff1792cfaf255007195d24308;hp=507b1ba449807b904cfb5f6979893a939c8f3167;hpb=339ea7f096b76a31e8906e2d49c1aa4e1201e0b5;p=babeltrace.git diff --git a/tests/Makefile.am b/tests/Makefile.am index 507b1ba4..5927f59e 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,6 +1,9 @@ SUBDIRS = utils bin lib EXTRA_DIST = $(srcdir)/ctf-traces/** tests +if ENABLE_DEBUGINFO +EXTRA_DIST += $(srcdir)/debuginfo-data/** tests_debuginfo +endif SCRIPT_LIST = run.sh @@ -20,5 +23,12 @@ clean-local: done; \ fi +TEMPLIST := $(shell mktemp -u) check-am: - ./run.sh $(srcdir)/tests + @cat $(srcdir)/tests > $(TEMPLIST) +if ENABLE_DEBUGINFO + @echo '' >> $(TEMPLIST) + @cat $(srcdir)/tests_debuginfo >> $(TEMPLIST) +endif + ./run.sh $(TEMPLIST) + rm $(TEMPLIST)