if ENABLE_PYTHON_PLUGINS
SUBDIRS += python-plugin-provider
-TESTS_BINDINGS += bindings/python/bt2/test_python_bt2
+endif
+
+if ENABLE_PYTHON_BINDINGS
+TESTS_BINDINGS += bindings/python/bt2/test_python_bt2 \
+ bindings/python/babeltrace/test_python_babeltrace
endif
TESTS_CLI = \
lib/test_cc_prio_map \
lib/test_bt_notification_iterator
-if ENABLE_PYTHON_PLUGINS
+if ENABLE_PYTHON_BINDINGS
TESTS_LIB += \
lib/writer/test_ctf_writer_no_packet_context.py \
lib/writer/test_ctf_writer_empty_packet.py
TESTS_PYTHON_PLUGIN_PROVIDER =
-if ENABLE_PYTHON_BINDINGS
+if ENABLE_PYTHON_PLUGINS
TESTS_PYTHON_PLUGIN_PROVIDER += python-plugin-provider/test_python_plugin_provider
endif
-EXTRA_DIST = \
- test_reader.py \
- test_reader_event.py \
+EXTRA_DIST = \
+ test_reader_event.py \
test_reader_event_declaration.py \
test_reader_field_declaration.py
-
-LOG_DRIVER_FLAGS='--merge'
-LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) $(top_srcdir)/config/tap-driver.sh
-
-if ENABLE_PYTHON_BINDINGS
-TESTS = test_python_babeltrace
-endif