From 4369fbb4d54e3d880b63d20a085517150d27236a Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Thu, 28 Apr 2016 12:38:20 -0400 Subject: [PATCH] Handle test_ctf_writer_complete like the other tests scripts MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Even if test_ctf_writer_complete doesn't require any substitutions, handle it like the other test scripts which will be less error prone and will allow to remove all the SCRIPT_LIST custom rules. Signed-off-by: Michael Jeanson Signed-off-by: Jérémie Galarneau --- configure.ac | 2 ++ tests/lib/Makefile.am | 4 ++-- .../{test_ctf_writer_complete => test_ctf_writer_complete.in} | 0 3 files changed, 4 insertions(+), 2 deletions(-) rename tests/lib/{test_ctf_writer_complete => test_ctf_writer_complete.in} (100%) diff --git a/configure.ac b/configure.ac index b161828a..ce8c2ef9 100644 --- a/configure.ac +++ b/configure.ac @@ -303,8 +303,10 @@ AC_CONFIG_FILES([ babeltrace-ctf.pc ]) +AC_CONFIG_FILES([tests/lib/test_ctf_writer_complete], [chmod +x tests/lib/test_ctf_writer_complete]) AC_CONFIG_FILES([tests/lib/test_seek_big_trace], [chmod +x tests/lib/test_seek_big_trace]) AC_CONFIG_FILES([tests/lib/test_seek_empty_packet], [chmod +x tests/lib/test_seek_empty_packet]) + AC_CONFIG_FILES([tests/bin/test_trace_read], [chmod +x tests/bin/test_trace_read]) AC_CONFIG_FILES([tests/bin/test_intersection], [chmod +x tests/bin/test_intersection]) AC_CONFIG_FILES([tests/bin/test_packet_seq_num], [chmod +x tests/bin/test_packet_seq_num]) diff --git a/tests/lib/Makefile.am b/tests/lib/Makefile.am index 12febed4..f2a2f5a2 100644 --- a/tests/lib/Makefile.am +++ b/tests/lib/Makefile.am @@ -27,8 +27,8 @@ test_bitfield_SOURCES = test_bitfield.c test_ctf_writer_SOURCES = test_ctf_writer.c check_SCRIPTS = test_seek_big_trace \ - test_seek_empty_packet -SCRIPT_LIST = test_ctf_writer_complete + test_seek_empty_packet \ + test_ctf_writer_complete if ENABLE_DEBUGINFO test_dwarf_LDFLAGS = -static diff --git a/tests/lib/test_ctf_writer_complete b/tests/lib/test_ctf_writer_complete.in similarity index 100% rename from tests/lib/test_ctf_writer_complete rename to tests/lib/test_ctf_writer_complete.in -- 2.34.1