Fix: test: add automake variable for test trace folders copy on oot build
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 Fix: test: add automake variable for test trace folders copy on oot build
Reported-by Simon Marchi <[email protected]>
Signed-off-by Jonathan Rajotte <[email protected]>
--- tests/Makefile.am | 8 ++++++++ 1 file changed, 8 insertions(+)
tests/Makefile.am +8 -0
@@ -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:
Signature · 1 line
1.9.1