X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Funit%2FMakefile.am;h=e9142b3376b282199b7b0a62aabab56ce9cab905;hp=97b84b6cf6ee969b7460c91ee2092ad80c9ed924;hb=246611b0dffa58fbc0e2329ddf6f9dc9d9eff7ce;hpb=26d0e3569499275a072d80c811825045e3291aed diff --git a/tests/unit/Makefile.am b/tests/unit/Makefile.am index 97b84b6cf..e9142b337 100644 --- a/tests/unit/Makefile.am +++ b/tests/unit/Makefile.am @@ -17,6 +17,7 @@ TESTS = \ test_fd_tracker \ test_kernel_data \ test_kernel_probe \ + test_log_level_rule \ test_notification \ test_payload \ test_relayd_backward_compat_group_by_session \ @@ -51,6 +52,7 @@ noinst_PROGRAMS = \ test_fd_tracker \ test_kernel_data \ test_kernel_probe \ + test_log_level_rule \ test_notification \ test_payload \ test_relayd_backward_compat_group_by_session \ @@ -213,10 +215,11 @@ test_string_utils_LDADD = $(LIBTAP) $(LIBCOMMON) $(LIBSTRINGUTILS) $(DL_LIBS) # Notification api test_notification_SOURCES = test_notification.c test_notification_LDADD = $(LIBTAP) $(LIBLTTNG_CTL) $(DL_LIBS) -# + # Event rule api test_event_rule_SOURCES = test_event_rule.c -test_event_rule_LDADD = $(LIBTAP) $(LIBCOMMON) $(LIBLTTNG_CTL) $(DL_LIBS) +test_event_rule_LDADD = $(LIBTAP) $(LIBCOMMON) $(LIBLTTNG_CTL) $(DL_LIBS) \ + $(top_builddir)/src/bin/lttng/lttng-loglevel.$(OBJEXT) # Condition api test_condition_SOURCES = test_condition.c @@ -254,3 +257,7 @@ test_kernel_probe_LDADD = $(LIBTAP) $(LIBCOMMON) $(LIBLTTNG_CTL) $(DL_LIBS) # Event expression to bytecode test test_event_expr_to_bytecode_SOURCES = test_event_expr_to_bytecode.c test_event_expr_to_bytecode_LDADD = $(LIBTAP) $(LIBLTTNG_CTL) $(LIBCOMMON) + +# Log level rule api +test_log_level_rule_SOURCES = test_log_level_rule.c +test_log_level_rule_LDADD = $(LIBTAP) $(LIBCOMMON) $(LIBLTTNG_CTL) $(DL_LIBS)