Test: run debug-info even with built-in plugins
[babeltrace.git] / tests / plugins / Makefile.am
1 AM_CPPFLAGS += -I$(top_srcdir)/tests/utils -I$(top_srcdir)/plugins
2
3 LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) $(top_srcdir)/config/tap-driver.sh
4 LOG_DRIVER_FLAGS='--merge'
5
6 LIBTAP=$(top_builddir)/tests/utils/tap/libtap.la
7 COMMON_TEST_LDADD = $(LIBTAP) \
8 $(top_builddir)/lib/libbabeltrace.la \
9 $(top_builddir)/common/libbabeltrace-common.la \
10 $(top_builddir)/logging/libbabeltrace-logging.la \
11 $(top_builddir)/compat/libcompat.la
12
13 check_SCRIPTS =
14 noinst_PROGRAMS =
15 TESTS =
16
17 if !ENABLE_BUILT_IN_PLUGINS
18 test_utils_muxer_SOURCES = test-utils-muxer.c
19 test_utils_muxer_LDADD = $(COMMON_TEST_LDADD)
20
21 noinst_PROGRAMS += test-utils-muxer
22 check_SCRIPTS += test-utils-muxer-complete
23 TESTS += test-utils-muxer-complete
24 endif
25
26 if ENABLE_DEBUG_INFO
27 test_dwarf_LDADD = \
28 $(top_builddir)/plugins/lttng-utils/libdebug-info.la \
29 $(top_builddir)/logging/libbabeltrace-logging.la \
30 $(top_builddir)/common/libbabeltrace-common.la \
31 $(ELFUTILS_LIBS) \
32 $(LIBTAP)
33 test_dwarf_SOURCES = test_dwarf.c
34
35 test_bin_info_LDADD = \
36 $(top_builddir)/plugins/lttng-utils/libdebug-info.la \
37 $(top_builddir)/logging/libbabeltrace-logging.la \
38 $(top_builddir)/common/libbabeltrace-common.la \
39 $(ELFUTILS_LIBS) \
40 $(LIBTAP)
41 test_bin_info_SOURCES = test_bin_info.c
42
43 noinst_PROGRAMS += test_dwarf test_bin_info
44 check_SCRIPTS += test_dwarf_complete test_bin_info_complete
45 TESTS += test_dwarf_complete \
46 test_bin_info_complete
47 endif
This page took 0.032449 seconds and 4 git commands to generate.