tests: bt2: add `--test-case` argument to testrunner.py
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Wed, 3 Jul 2019 21:40:52 +0000 (17:40 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 18 Jul 2019 15:53:34 +0000 (11:53 -0400)
commit541308b8e9f9ae39aabb347190cce29d88e6eb42
tree1bd2e472b2945d1bd93b76de9833223d20619b32
parente58dfd9c9fd5ebde13a904b8ccdccbe576e440b4
tests: bt2: add `--test-case` argument to testrunner.py

The `-t/--test-case` argument allows to specify the exact test case to
run.

Make the `--test-case` and the existing `--pattern` options mutually
exclusive and require that one of the two is provided.

It can be used like this:
  ./tests/utils/run_python_bt2 python3 ./tests/utils/python/testrunner.py \
    -t test_event.EventTestCase.test_clock_value \
    ./tests/bindings/python/bt2

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Change-Id: Icc9204d05bac4cef9cc509f2b19a9e515b0a40e7
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1612
Reviewed-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
Tested-by: jenkins <jenkins@lttng.org>
tests/bindings/python/bt2/test_python_bt2
tests/plugins/flt.lttng-utils.debug-info/test_lttng_utils_debug_info
tests/plugins/src.ctf.fs/query/test_query
tests/utils/python/testrunner.py
tests/utils/utils.sh
This page took 0.026762 seconds and 4 git commands to generate.