Skip to contentSkip to conversation

Test: run debug-info even with built-in plugins

PATCH Jérémie Galarneau 1 participant 1 message Aug 29, 2017 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Merged in master and stable-2.0. Thanks!

Jérémie

Quoted 67 lines · Michael Jeanson
---
 tests/Makefile.am         |  6 +-----
 tests/plugins/Makefile.am | 18 +++++++++++-------
 2 files changed, 12 insertions(+), 12 deletions(-)
tests/Makefile.am +1 -5
index 10471c3..4bdbedd 100644
@@ -1,13 +1,9 @@
-SUBDIRS = utils cli lib bindings
+SUBDIRS = utils cli lib bindings plugins
 
 EXTRA_DIST = $(srcdir)/ctf-traces/** \
             $(srcdir)/debug-info-data/** \
             $(srcdir)/debug-info-data/.build-id/cd/**
 
-if !ENABLE_BUILT_IN_PLUGINS
-SUBDIRS += plugins
-endif
-
 if ENABLE_PYTHON_PLUGINS
 SUBDIRS += python-plugin-provider
 endif
tests/plugins/Makefile.am +11 -8
index ffea78b..088b28a 100644
@@ -1,5 +1,8 @@
 AM_CPPFLAGS += -I$(top_srcdir)/tests/utils -I$(top_srcdir)/plugins
 
+LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) $(top_srcdir)/config/tap-driver.sh
+LOG_DRIVER_FLAGS='--merge'
+
 LIBTAP=$(top_builddir)/tests/utils/tap/libtap.la
 COMMON_TEST_LDADD = $(LIBTAP) \
        $(top_builddir)/lib/libbabeltrace.la \
@@ -7,17 +10,18 @@ COMMON_TEST_LDADD = $(LIBTAP) \
        $(top_builddir)/logging/libbabeltrace-logging.la \
        $(top_builddir)/compat/libcompat.la
 
-noinst_PROGRAMS = test-utils-muxer
+check_SCRIPTS =
+noinst_PROGRAMS =
+TESTS =
 
+if !ENABLE_BUILT_IN_PLUGINS
 test_utils_muxer_SOURCES = test-utils-muxer.c
 test_utils_muxer_LDADD = $(COMMON_TEST_LDADD)
 
-check_SCRIPTS = test-utils-muxer-complete
-
-LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) $(top_srcdir)/config/tap-driver.sh
-LOG_DRIVER_FLAGS='--merge'
-
-TESTS = test-utils-muxer-complete
+noinst_PROGRAMS += test-utils-muxer
+check_SCRIPTS += test-utils-muxer-complete
+TESTS += test-utils-muxer-complete
+endif
 
 if ENABLE_DEBUG_INFO
 test_dwarf_LDADD = \
--

2.7.4

Signature · 7 lines
Jérémie Galarneau
EfficiOS Inc.
http://www.efficios.com
_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev