diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2015-05-20 10:49:13 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2015-05-22 08:45:35 +1000 |
commit | 538e98d46f796720abe95fff0d636f67828efe88 (patch) | |
tree | 1f1eebcbf55d553d50bc64b357a554c68017f2df /doc | |
parent | f3d37d96538f7d0b42240eeea11471360c392d89 (diff) |
test: add --filter-device argument
Similar to the CK_RUN_CASE environment variable, but it does support
fnmatch()-style wildcards, e.g.
./test/test-touchpad --filter-device="synaptics*"
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/test-suite.dox | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/test-suite.dox b/doc/test-suite.dox index 079018c0..757dc86e 100644 --- a/doc/test-suite.dox +++ b/doc/test-suite.dox @@ -69,6 +69,17 @@ basic shell-style function name matching. For example: $ ./test/test-touchpad --filter-test="*1fg_tap*" @endcode +The `--filter-device` argument enables selective running of tests through +basic shell-style device name matching. The device names matched are the +litest-specific shortnames, see the output of `--list`. For example: + +@code +$ ./test/test-touchpad --filter-device="synaptics*" +@endcode + +The `--filter-device` argument can be combined with `--list` to show +which devices will be affected. + @section test-verbosity Controlling test output Each test supports the `--verbose` commandline option to enable debugging |