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