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 PP |
9 | |
10 | noinst_PROGRAMS = test-utils-muxer | |
11 | ||
12 | test_utils_muxer_SOURCES = test-utils-muxer.c | |
13 | test_utils_muxer_LDADD = $(COMMON_TEST_LDADD) | |
14 | ||
15 | check_SCRIPTS = test-utils-muxer-complete | |
6ca1931c PP |
16 | |
17 | LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) $(top_srcdir)/config/tap-driver.sh | |
18 | LOG_DRIVER_FLAGS='--merge' | |
19 | ||
54f7c958 | 20 | TESTS = test-utils-muxer-complete |
149bc52e JD |
21 | |
22 | if ENABLE_DEBUG_INFO | |
23 | test_dwarf_LDFLAGS = -static | |
24 | test_dwarf_LDADD = $(LIBTAP) \ | |
25 | $(top_builddir)/plugins/lttng-utils/babeltrace-plugin-lttng-utils.la | |
26 | test_dwarf_SOURCES = test_dwarf.c | |
27 | ||
28 | test_bin_info_LDFLAGS = -static | |
29 | test_bin_info_LDADD = $(LIBTAP) \ | |
30 | $(top_builddir)/plugins/lttng-utils/babeltrace-plugin-lttng-utils.la | |
31 | test_bin_info_SOURCES = test_bin_info.c | |
32 | ||
33 | noinst_PROGRAMS += test_dwarf test_bin_info | |
34 | check_SCRIPTS += test_dwarf_complete test_bin_info_complete | |
35 | TESTS += test_dwarf_complete \ | |
36 | test_bin_info_complete | |
37 | endif |