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 19:59:29 +0000 (15:59 -0400)
commitd8992d68ea94b3e02ab275bb4be33c5b3a8b7d73
tree2c31381a79c199247b684d7fb60e84546116eaea
parent3d60267b222697603cdcbb942d79a12fd7c9ce44
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.027927 seconds and 4 git commands to generate.