Tests: no substitution needed for multi-trace intersection test
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 7 Jun 2016 16:09:27 +0000 (12:09 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 7 Jun 2016 17:32:00 +0000 (13:32 -0400)
The use of AC_CONFIG_FILES on with src == dest causes the source
file to be deleted on make distclean.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
configure.ac
tests/bin/intersection/Makefile.am

index 0b7bde25d77c4ba90689550f6a2b4c9c55922994..97d949ef85d72d700f4246bcd4aca5fdb1f9fa33 100644 (file)
@@ -335,7 +335,6 @@ AC_CONFIG_FILES([tests/bin/test_trace_read], [chmod +x tests/bin/test_trace_read
 AC_CONFIG_FILES([tests/bin/intersection/test_intersection], [chmod +x tests/bin/intersection/test_intersection])
 AC_CONFIG_FILES([tests/bin/intersection/bt_python_helper.py])
 AC_CONFIG_FILES([tests/bin/test_packet_seq_num], [chmod +x tests/bin/test_packet_seq_num])
-AC_CONFIG_FILES([tests/bin/intersection/test_multi_trace_intersection.py:tests/bin/intersection/test_multi_trace_intersection.py], [chmod +x tests/bin/intersection/test_multi_trace_intersection.py])
 
 AC_OUTPUT
 
index 664bc3a023aba9869cbabcf1142a7645580b6e47..6c7330e58fc367326f7b4834ccfd1a500c2521c2 100644 (file)
@@ -2,5 +2,19 @@ check_SCRIPTS = test_intersection \
                bt_python_helper.py \
                test_multi_trace_intersection.py
 
-SCRIPT_LIST = test_multi_trace_intersection.py
 dist_noinst_SCRIPTS = test_multi_trace_intersection.py
+EXTRA_DIST=test_multi_trace_intersection.py
+
+all-local:
+       @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
+               for script in $(EXTRA_DIST); do \
+                       cp -f $(srcdir)/$$script $(builddir); \
+               done; \
+       fi
+
+clean-local:
+       @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
+               for script in $(EXTRA_DIST); do \
+                       rm -f $(builddir)/$$script; \
+               done; \
+       fi
This page took 0.03533 seconds and 4 git commands to generate.