[lttng-dev] [PATCH babeltrace] Fix: test: add automake variable for test trace folders copy on oot build
Jonathan Rajotte
jonathan.rajotte-julien at efficios.com
Fri Feb 20 11:51:56 EST 2015
Reported-by: Simon Marchi <simon.marchi at polymtl.ca>
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien at efficios.com>
---
tests/Makefile.am | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 2e307f4..e474522 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -4,6 +4,8 @@ EXTRA_DIST = ctf-traces/** tests
SCRIPT_LIST = run.sh
+TRACE_FOLDER = ctf-traces
+
dist_noinst_SCRIPTS = $(SCRIPT_LIST)
all-local:
@@ -11,6 +13,9 @@ all-local:
for script in $(SCRIPT_LIST); do \
cp -f $(srcdir)/$$script $(builddir); \
done; \
+ for script in $(TRACE_FOLDER); do \
+ cp -a $(srcdir)/$$script $(builddir); \
+ done; \
fi
clean-local:
@@ -18,6 +23,9 @@ clean-local:
for script in $(SCRIPT_LIST); do \
rm -f $(builddir)/$$script; \
done; \
+ for script in $(TRACE_FOLDER); do \
+ rm -rf $(builddir)/$$script; \
+ done; \
fi
check-am:
--
1.9.1
More information about the lttng-dev
mailing list