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)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 5 Jul 2019 17:11:32 +0000 (13:11 -0400)
commita818a6170b4f1ffc61f2a6e48c640b65974fb594
tree575843e5936684bd70d173bcb15bbf5b114fbde5
parentde38c26a14b60cb3b6d31cc124c187e2c1816bf5
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.026256 seconds and 4 git commands to generate.