From d6a1ced5f69151dd7b6fe466626a7f5834df7548 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 0ffc1eaf..f11b0b4f 100644 --- a/configure.ac +++ b/configure.ac @@ -349,8 +349,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 e8d1e6a1..6e620c20 100644 --- a/tests/lib/Makefile.am +++ b/tests/lib/Makefile.am @@ -42,8 +42,8 @@ test_ctf_ir_ref_SOURCES = test_ctf_ir_ref.c test_bt_ctf_field_type_validation_SOURCES = test_bt_ctf_field_type_validation.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