-SUBDIRS = utils lib ctf-writer plugins
+SUBDIRS = utils lib bitfield ctf-writer plugins
# Directories added to EXTRA_DIST will be recursively copied to the distribution.
EXTRA_DIST = $(srcdir)/data \
cli/test_trimmer
TESTS_LIB = \
- lib/test_bitfield \
lib/test_bt_values \
+ lib/test_bt_uuid \
lib/test_graph_topo \
lib/test_trace_ir_ref
+TESTS_BITFIELD = \
+ bitfield/test_bitfield
+
TESTS_CTF_WRITER = \
ctf-writer/test_ctf_writer
endif
TESTS_PLUGINS = \
- plugins/src.ctf.fs/succeed/test_succeed
+ plugins/src.ctf.fs/succeed/test_succeed \
+ plugins/sink.ctf.fs/succeed/test_succeed
if !ENABLE_BUILT_IN_PLUGINS
if ENABLE_PYTHON_BINDINGS
plugins/flt.lttng-utils.debug-info/test_bin_info_x86_64-linux-gnu
endif
+if ENABLE_PYTHON_PLUGINS
+if ENABLE_PYTHON_BINDINGS
+TESTS_PLUGINS += plugins/flt.utils.trimmer/test_trimming
+endif
+endif
+
TESTS_PYTHON_PLUGIN_PROVIDER =
if ENABLE_PYTHON_PLUGINS
BT_TESTS_SED_BIN="$(SED)" \
$(SHELL) $(top_srcdir)/config/tap-driver.sh
-TESTS = $(TESTS_BINDINGS) $(TESTS_CLI) $(TESTS_CTF_WRITER) $(TESTS_LIB) \
- $(TESTS_PLUGINS) $(TESTS_PYTHON_PLUGIN_PROVIDER)
+TESTS_NO_BITFIELD = \
+ $(TESTS_BINDINGS) \
+ $(TESTS_CLI) \
+ $(TESTS_CTF_WRITER) \
+ $(TESTS_LIB) \
+ $(TESTS_PLUGINS) \
+ $(TESTS_PYTHON_PLUGIN_PROVIDER)
+
+TESTS = $(TESTS_NO_BITFIELD) $(TESTS_BITFIELD)
define check_target
check-$(1):
endef
$(eval $(call check_target,bindings,$(TESTS_BINDINGS)))
+$(eval $(call check_target,bitfield,$(TESTS_BITFIELD)))
$(eval $(call check_target,cli,$(TESTS_CLI)))
$(eval $(call check_target,ctf-writer,$(TESTS_CTF_WRITER)))
$(eval $(call check_target,lib,$(TESTS_LIB)))
$(eval $(call check_target,plugins,$(TESTS_PLUGINS)))
$(eval $(call check_target,python-plugin-provider,$(TESTS_PYTHON_PLUGIN_PROVIDER)))
+
+check-no-bitfield:
+ $(MAKE) $(AM_MAKEFLAGS) TESTS="$(TESTS_NO_BITFIELD)" check