bt2: update bindings to make test_plugins pass
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 30 Apr 2019 20:30:32 +0000 (16:30 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 3 May 2019 22:19:40 +0000 (18:19 -0400)
commitbb93d641468f118734fbaa205a9a231a85bad60c
tree98b7ae23a0fded4d7db4c325ada99d86750910b8
parente34fb94a005b92ad9f57bb0fd5a0f71abe31975f
bt2: update bindings to make test_plugins pass

This patch updates the necessary stuff in the bindings to make
test_plugins pass.

One new test is added, test_find_file, which tests passing the path to a
plugin shared object to bt2.find_plugins.

Change-Id: Ie2ac6e830fb18d8839d2879567509cd2f6abbd81
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1087
CI-Build: Simon Marchi <simon.marchi@efficios.com>
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
Tested-by: jenkins
bindings/python/bt2/bt2/plugin.py
tests/bindings/python/bt2/test_plugin.py
This page took 0.02453 seconds and 4 git commands to generate.