X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Funit%2FMakefile.am;h=19f53614f0e798fc9f7db9c5710b68f3e389f668;hp=114089536a34d684cfb8de3c1a10aa7f892e4126;hb=2a5c1ba600ac173a89ab39bb6e42ee01ee14b9e0;hpb=3abcca27572b8ca096182af8f03c817ab1dcdf56 diff --git a/tests/unit/Makefile.am b/tests/unit/Makefile.am index 114089536..19f53614f 100644 --- a/tests/unit/Makefile.am +++ b/tests/unit/Makefile.am @@ -11,7 +11,8 @@ TESTS = test_kernel_data \ test_uri \ test_utils_parse_size_suffix \ test_utils_expand_path \ - ini_config/test_ini_config + ini_config/test_ini_config \ + test_fd_tracker if LTTNG_TOOLS_BUILD_WITH_LIBDL LIBS += -ldl @@ -23,13 +24,16 @@ endif LIBTAP=$(top_builddir)/tests/utils/tap/libtap.la LIBCOMMON=$(top_builddir)/src/common/libcommon.la +LIBFDTRACKER=$(top_builddir)/src/common/fd-tracker/libfd-tracker.la LIBSESSIOND_COMM=$(top_builddir)/src/common/sessiond-comm/libsessiond-comm.la LIBHASHTABLE=$(top_builddir)/src/common/hashtable/libhashtable.la LIBRELAYD=$(top_builddir)/src/common/relayd/librelayd.la # Define test programs -noinst_PROGRAMS = test_uri test_session test_kernel_data -noinst_PROGRAMS += test_utils_parse_size_suffix test_utils_expand_path +noinst_PROGRAMS = test_uri test_session test_kernel_data \ + test_utils_parse_size_suffix \ + test_utils_expand_path \ + test_fd_tracker if HAVE_LIBLTTNG_UST_CTL noinst_PROGRAMS += test_ust_data @@ -108,3 +112,7 @@ test_utils_parse_size_suffix_LDADD += $(UTILS_SUFFIX) test_utils_expand_path_SOURCES = test_utils_expand_path.c test_utils_expand_path_LDADD = $(LIBTAP) $(LIBHASHTABLE) $(LIBCOMMON) test_utils_expand_path_LDADD += $(UTILS_SUFFIX) + +# fd tracker unit test +test_fd_tracker_SOURCES = test_fd_tracker.c +test_fd_tracker_LDADD = $(LIBTAP) $(LIBFDTRACKER) $(DL_LIBS) -lurcu $(LIBCOMMON) $(LIBHASHTABLE)