Commit | Line | Data |
---|---|---|
149bc52e | 1 | AM_CPPFLAGS += -I$(top_srcdir)/tests/utils -I$(top_srcdir)/plugins |
8deeabc6 PP |
2 | |
3 | LIBTAP=$(top_builddir)/tests/utils/tap/libtap.la | |
1b83271b PP |
4 | COMMON_TEST_LDADD = $(LIBTAP) \ |
5 | $(top_builddir)/lib/libbabeltrace.la \ | |
6 | $(top_builddir)/common/libbabeltrace-common.la \ | |
7 | $(top_builddir)/logging/libbabeltrace-logging.la \ | |
8 | $(top_builddir)/compat/libcompat.la | |
8deeabc6 | 9 | |
8703bbf2 MJ |
10 | check_SCRIPTS = |
11 | noinst_PROGRAMS = | |
8deeabc6 | 12 | |
8703bbf2 | 13 | if !ENABLE_BUILT_IN_PLUGINS |
44c440bc | 14 | # plugin tests here |
d8992d68 | 15 | endif # !ENABLE_BUILT_IN_PLUGINS |
149bc52e JD |
16 | |
17 | if ENABLE_DEBUG_INFO | |
77ca3096 MJ |
18 | test_dwarf_LDADD = \ |
19 | $(top_builddir)/plugins/lttng-utils/libdebug-info.la \ | |
20 | $(top_builddir)/logging/libbabeltrace-logging.la \ | |
21 | $(top_builddir)/common/libbabeltrace-common.la \ | |
22 | $(ELFUTILS_LIBS) \ | |
23 | $(LIBTAP) | |
149bc52e JD |
24 | test_dwarf_SOURCES = test_dwarf.c |
25 | ||
77ca3096 MJ |
26 | test_bin_info_LDADD = \ |
27 | $(top_builddir)/plugins/lttng-utils/libdebug-info.la \ | |
28 | $(top_builddir)/logging/libbabeltrace-logging.la \ | |
29 | $(top_builddir)/common/libbabeltrace-common.la \ | |
30 | $(ELFUTILS_LIBS) \ | |
31 | $(LIBTAP) | |
149bc52e JD |
32 | test_bin_info_SOURCES = test_bin_info.c |
33 | ||
34 | noinst_PROGRAMS += test_dwarf test_bin_info | |
35 | check_SCRIPTS += test_dwarf_complete test_bin_info_complete | |
d8992d68 PP |
36 | |
37 | if !ENABLE_BUILT_IN_PLUGINS | |
38 | if ENABLE_PYTHON_BINDINGS | |
39 | check_SCRIPTS += test_lttng_utils_debug_info | |
40 | endif # !ENABLE_BUILT_IN_PLUGINS | |
41 | endif # ENABLE_PYTHON_BINDINGS | |
42 | endif # ENABLE_DEBUG_INFO | |
43 | ||
44 | EXTRA_DIST = test_lttng_utils_debug_info.py |