From cd36b2f1a788a9bd7c117cb3b2047ec769944622 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Fri, 9 Jun 2017 17:24:27 -0400 Subject: [PATCH] Fix: out-of-tree build MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau --- configure.ac | 2 ++ tests/lib/writer/Makefile.am | 14 -------------- ...acket.py => test_ctf_writer_empty_packet.py.in} | 0 ....py => test_ctf_writer_no_packet_context.py.in} | 0 4 files changed, 2 insertions(+), 14 deletions(-) rename tests/lib/writer/{test_ctf_writer_empty_packet.py => test_ctf_writer_empty_packet.py.in} (100%) mode change 100755 => 100644 rename tests/lib/writer/{test_ctf_writer_no_packet_context.py => test_ctf_writer_no_packet_context.py.in} (100%) mode change 100755 => 100644 diff --git a/configure.ac b/configure.ac index 68efa882..bf0c7e10 100644 --- a/configure.ac +++ b/configure.ac @@ -541,6 +541,8 @@ AC_CONFIG_FILES([tests/cli/test_trace_read], [chmod +x tests/cli/test_trace_read AC_CONFIG_FILES([tests/cli/intersection/test_intersection], [chmod +x tests/cli/intersection/test_intersection]) AC_CONFIG_FILES([tests/cli/intersection/bt_python_helper.py]) AC_CONFIG_FILES([tests/lib/writer/bt_python_helper.py]) +AC_CONFIG_FILES([tests/lib/writer/test_ctf_writer_empty_packet.py]) +AC_CONFIG_FILES([tests/lib/writer/test_ctf_writer_no_packet_context.py]) AC_CONFIG_FILES([tests/cli/test_packet_seq_num], [chmod +x tests/cli/test_packet_seq_num]) AS_IF([test "x$enable_python" = "xyes"], [ diff --git a/tests/lib/writer/Makefile.am b/tests/lib/writer/Makefile.am index 07314879..3d3a320a 100644 --- a/tests/lib/writer/Makefile.am +++ b/tests/lib/writer/Makefile.am @@ -1,16 +1,2 @@ check_SCRIPTS = test_ctf_writer_no_packet_context.py \ test_ctf_writer_empty_packet.py - -all-local: - @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ - for script in $(check_SCRIPTS); do \ - cp -f $(srcdir)/$$script $(builddir); \ - done; \ - fi - -clean-local: - @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ - for script in $(check_SCRIPTS); do \ - rm -f $(builddir)/$$script; \ - done; \ - fi diff --git a/tests/lib/writer/test_ctf_writer_empty_packet.py b/tests/lib/writer/test_ctf_writer_empty_packet.py.in old mode 100755 new mode 100644 similarity index 100% rename from tests/lib/writer/test_ctf_writer_empty_packet.py rename to tests/lib/writer/test_ctf_writer_empty_packet.py.in diff --git a/tests/lib/writer/test_ctf_writer_no_packet_context.py b/tests/lib/writer/test_ctf_writer_no_packet_context.py.in old mode 100755 new mode 100644 similarity index 100% rename from tests/lib/writer/test_ctf_writer_no_packet_context.py rename to tests/lib/writer/test_ctf_writer_no_packet_context.py.in -- 2.34.1