summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2016-07-22 13:16:49 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2016-08-02 10:19:38 +1000
commit35b28b1af3a7f6b58ec93286a2ab1de7c8ecb5aa (patch)
tree1e5f14b1a75a41b69eaae691f9f84e915dd98d0c /doc
parentbc76bd6f77b027e6f52933da6c875a6c1d1eb187 (diff)
test: merge all tests into a single binary
Call it a libinput-test-suite-runner, in subsequent patches we'll handle doing parallel tests ourselves instead of relying on automake features. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'doc')
-rw-r--r--doc/test-suite.dox14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/test-suite.dox b/doc/test-suite.dox
index 30dd157..104e2a9 100644
--- a/doc/test-suite.dox
+++ b/doc/test-suite.dox
@@ -4,8 +4,8 @@
The libinput test suite is based on
[Check](http://check.sourceforge.net/doc/check_html/) and runs automatically
during `make check`. Check itself is wrapped into a libinput-specific test
-suite called *litest*. Tests are found in `$srcdir/test/`, the test binaries are
-prefixed with `test-` and can be run individually.
+suite called *litest*. Tests are found in `$srcdir/test/`, the main test
+suite is `libinput-test-suite-runner`.
@section test-config X.Org config to avoid interference
@@ -30,7 +30,7 @@ litest's tests are grouped by test groups and devices. A test group is e.g.
Each test function is (usually) run with one or more specific devices.
The `--list` commandline argument shows the list of suites and tests.
@code
-$ ./test/test-device --list
+$ ./test/libinput-test-suite-runner --list
device:wheel:
wheel only
blackwidow
@@ -56,7 +56,7 @@ The `--filter-test` argument enables selective running of tests through
basic shell-style function name matching. For example:
@code
-$ ./test/test-touchpad --filter-test="*1fg_tap*"
+$ ./test/libinput-test-suite-runner --filter-test="*1fg_tap*"
@endcode
The `--filter-device` argument enables selective running of tests through
@@ -64,7 +64,7 @@ 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*"
+$ ./test/libinput-test-suite-runner --filter-device="synaptics*"
@endcode
The `--filter-group` argument enables selective running of test groups
@@ -72,7 +72,7 @@ through basic shell-style test group matching. The test groups matched are
litest-specific test groups, see the output of `--list`. For example:
@code
-$ ./test/test-touchpad --filter-group="touchpad:*hover*"
+$ ./test/libinput-test-suite-runner --filter-group="touchpad:*hover*"
@endcode
The `--filter-device` and `--filter-group` arguments can be combined with
@@ -85,7 +85,7 @@ output, see libinput_log_set_priority() for details. The `LITEST_VERBOSE`
environment variable, if set, also enables verbose mode.
@code
-$ ./test/test-device --verbose
+$ ./test/libinput-test-suite-runner --verbose
$ LITEST_VERBOSE=1 make check
@endcode