Add basic flt.lttng-utils.debug-info tests
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 2 Nov 2017 17:20:18 +0000 (13:20 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 2 Nov 2017 20:11:00 +0000 (16:11 -0400)
commit36abff2a12418e173fdaa9552679c56e2560e89b
treeace836ac7ed4c2e5e2b18cd8487c19cb06ec8e3c
parent88fdcc33db71a39770d1616f272e23aaf8a995e6
Add basic flt.lttng-utils.debug-info tests

This new test uses the bt2 Python bindings to test the
flt.lttng-utils.debug-info component class. The test opens the
tests/debug-info-data/trace trace and makes it pass through a
flt.lttng-utils.debug-info component to inject debugging information.
The test then checks that specific debugging information fields in
specific event notifications have the expected values.

This patch also removes the old tests/cli/test_debug_info.in test which
is not even enabled and relied on the output of sink.text.pretty.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
.gitignore
configure.ac
tests/Makefile.am
tests/cli/test_debug_info.in [deleted file]
tests/plugins/Makefile.am
tests/plugins/test_lttng_utils_debug_info.in [new file with mode: 0644]
tests/plugins/test_lttng_utils_debug_info.py [new file with mode: 0644]
This page took 0.024462 seconds and 4 git commands to generate.