X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tests%2Fplugins%2FMakefile.am;h=ffea78bd90f4c1a3d30a29c9f1c4b9e4fe8bcb19;hb=77ca30962b076496a40eaf7d7bcc8269f838fdf5;hp=200072c09dc97566f6274444a50ffbc4b33c3297;hpb=1b83271bb496e994fdb6ba4047e88824ec391d43;p=babeltrace.git diff --git a/tests/plugins/Makefile.am b/tests/plugins/Makefile.am index 200072c0..ffea78bd 100644 --- a/tests/plugins/Makefile.am +++ b/tests/plugins/Makefile.am @@ -1,4 +1,4 @@ -AM_CFLAGS = $(PACKAGE_CFLAGS) -I$(top_srcdir)/include -I$(top_srcdir)/tests/utils +AM_CPPFLAGS += -I$(top_srcdir)/tests/utils -I$(top_srcdir)/plugins LIBTAP=$(top_builddir)/tests/utils/tap/libtap.la COMMON_TEST_LDADD = $(LIBTAP) \ @@ -17,4 +17,27 @@ 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 +TESTS = test-utils-muxer-complete + +if ENABLE_DEBUG_INFO +test_dwarf_LDADD = \ + $(top_builddir)/plugins/lttng-utils/libdebug-info.la \ + $(top_builddir)/logging/libbabeltrace-logging.la \ + $(top_builddir)/common/libbabeltrace-common.la \ + $(ELFUTILS_LIBS) \ + $(LIBTAP) +test_dwarf_SOURCES = test_dwarf.c + +test_bin_info_LDADD = \ + $(top_builddir)/plugins/lttng-utils/libdebug-info.la \ + $(top_builddir)/logging/libbabeltrace-logging.la \ + $(top_builddir)/common/libbabeltrace-common.la \ + $(ELFUTILS_LIBS) \ + $(LIBTAP) +test_bin_info_SOURCES = test_bin_info.c + +noinst_PROGRAMS += test_dwarf test_bin_info +check_SCRIPTS += test_dwarf_complete test_bin_info_complete +TESTS += test_dwarf_complete \ + test_bin_info_complete +endif