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)
committerSimon Marchi <simon.marchi@efficios.com>
Sat, 26 Oct 2019 20:36:38 +0000 (16:36 -0400)
commitc7fa66191176d600d53a69266b8567453c9f977d
tree1d8f219dd62a2407060a14cbfb7c6c48dec33509
parent50962110ae63fbd54d076955aca3c3ccad67e3eb
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.024424 seconds and 4 git commands to generate.