Fix: tests: add cli/params/test_params to Makefile and fix it
authorSimon Marchi <simon.marchi@efficios.com>
Thu, 24 Oct 2019 18:43:44 +0000 (14:43 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 30 Oct 2019 19:14:53 +0000 (15:14 -0400)
commit269daba5e7b1d0eff82a86305afd4b8dd6c23956
tree1742b8a38c447f89dd2f2cce7873c523de81a89e
parentd93c8ed4462f058e149624ccba1374ec7a38c2ab
Fix: tests: add cli/params/test_params to Makefile and fix it

The test bt_plugin_params.py has been broken for a while, because guess
what?  It's not ran by the testsuite!

So first, add it to the Makefile.

Then, update the value types expected by the component class.  I made it
so it raises an exception if it gets an object of a type it doesn't
expect.  That should make the test a bit more robust.

Change-Id: I1749287e7d0e61d8b46d905b2a7ded13ec07283a
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/2254
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Francis Deslauriers <francis.deslauriers@efficios.com>
tests/Makefile.am
tests/data/cli/params/bt_plugin_params.py
This page took 0.024265 seconds and 4 git commands to generate.