Cleanup test scripts
[babeltrace.git] / tests / Makefile.am
CommitLineData
19badea8 1SUBDIRS = utils bin lib
ac65e355 2
339ea7f0 3EXTRA_DIST = $(srcdir)/ctf-traces/** tests
c3a1997e
AB
4if ENABLE_DEBUGINFO
5EXTRA_DIST += $(srcdir)/debuginfo-data/** tests_debuginfo
6endif
4cdc32cf 7
15553d19
MD
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
f094cdcc 25
f5a64ec0 26TEMPLIST := $(shell mktemp -u)
f094cdcc 27check-am:
f5a64ec0 28 @cat $(srcdir)/tests > $(TEMPLIST)
c3a1997e 29if ENABLE_DEBUGINFO
f5a64ec0
JG
30 @echo '' >> $(TEMPLIST)
31 @cat $(srcdir)/tests_debuginfo >> $(TEMPLIST)
c3a1997e 32endif
f5a64ec0
JG
33 ./run.sh $(TEMPLIST)
34 rm $(TEMPLIST)
This page took 0.029068 seconds and 4 git commands to generate.