Cleanup test scripts
[babeltrace.git] / tests / Makefile.am
... / ...
CommitLineData
1SUBDIRS = utils bin lib
2
3EXTRA_DIST = $(srcdir)/ctf-traces/** tests
4if ENABLE_DEBUGINFO
5EXTRA_DIST += $(srcdir)/debuginfo-data/** tests_debuginfo
6endif
7
8SCRIPT_LIST = run.sh
9
10dist_noinst_SCRIPTS = $(SCRIPT_LIST)
11
12all-local:
13 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
14 for script in $(SCRIPT_LIST); do \
15 cp -f $(srcdir)/$$script $(builddir); \
16 done; \
17 fi
18
19clean-local:
20 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
21 for script in $(SCRIPT_LIST); do \
22 rm -f $(builddir)/$$script; \
23 done; \
24 fi
25
26TEMPLIST := $(shell mktemp -u)
27check-am:
28 @cat $(srcdir)/tests > $(TEMPLIST)
29if ENABLE_DEBUGINFO
30 @echo '' >> $(TEMPLIST)
31 @cat $(srcdir)/tests_debuginfo >> $(TEMPLIST)
32endif
33 ./run.sh $(TEMPLIST)
34 rm $(TEMPLIST)
This page took 0.022942 seconds and 4 git commands to generate.