Cleanup test scripts
[babeltrace.git] / tests / Makefile.am
CommitLineData
19badea8 1SUBDIRS = utils bin lib
ac65e355 2
471381ff 3EXTRA_DIST = $(srcdir)/ctf-traces/** tests
33ba099b
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
c5db7b7f 26TEMPLIST := $(shell mktemp -u)
f094cdcc 27check-am:
c5db7b7f 28 @cat $(srcdir)/tests > $(TEMPLIST)
33ba099b 29if ENABLE_DEBUGINFO
c5db7b7f
JG
30 @echo '' >> $(TEMPLIST)
31 @cat $(srcdir)/tests_debuginfo >> $(TEMPLIST)
33ba099b 32endif
c5db7b7f
JG
33 ./run.sh $(TEMPLIST)
34 rm $(TEMPLIST)
This page took 0.035798 seconds and 4 git commands to generate.