X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=tests%2FMakefile.am;h=5927f59eff6a2edee32871a901277661ea9c2f10;hp=8d84b16b8db3e90595868130ea19de89312d88e6;hb=f5a64ec04a8cdd75a3940f21f4c2b908fc5ba667;hpb=15553d19bf293941eb6476b92ad49617dd588aff diff --git a/tests/Makefile.am b/tests/Makefile.am index 8d84b16b..5927f59e 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,6 +1,9 @@ SUBDIRS = utils bin lib -EXTRA_DIST = ctf-traces/** tests +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 tests + @cat $(srcdir)/tests > $(TEMPLIST) +if ENABLE_DEBUGINFO + @echo '' >> $(TEMPLIST) + @cat $(srcdir)/tests_debuginfo >> $(TEMPLIST) +endif + ./run.sh $(TEMPLIST) + rm $(TEMPLIST)