libinput/doc
Peter Hutterer eb8e1d4a13 test: add a make-like job control to run tests in parallel
Add a make-like -j/--jobs option to split the number of parallel test
processes. Defaults to 8 if not specified, future patches will default this to
1 for special cases where filters are specified or gdb is detected.

Each subprocess overwrites argv[0] to be easier identifiable in the ps
output when we're trying to figure out which tests are still running.

A -j1 is equivalent to the previous functionality, i.e. we don't fork.

One quirk needed for check: any test case not part of a test runner will not
be freed and thus triggers valgrind. We do test filtering by splitting
up the tests across multiple forks (i.e. each process has several tests that
are in the list but not added to the runner). Thus we need to mark those we
expect check to free as used.
Then on cleanup we traverse the test list, add all the unused one to a
test runner and free that test runner (without actually running it). This
cleans up both the filtered tests in each subprocess and the whole test list
in the parent process which doesn't run a test itself.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2016-08-02 11:26:58 +10:00
..
dot doc: add a diagram for evemu and note that libinput doesn't recordings 2015-08-24 09:36:22 +10:00
style doc: use bootstrap for doxygen styling 2015-07-16 14:15:19 +10:00
svg doc: add two svgs showing the modes 2016-06-22 08:48:01 +10:00
absolute-axes.dox doc: improve absolute axis documentation a bit 2016-01-05 12:35:49 +10:00
absolute-coordinate-ranges.dox touchpad: warn if we have invalid touchpad ranges 2016-06-02 08:01:43 +10:00
clickpad-softbuttons.dox touchpad: remove software middle button when emulation is enabled 2016-07-04 09:41:33 +10:00
device-configuration-via-udev.dox Merge branch 'master' into tablet-support 2015-12-14 12:44:05 +10:00
faqs.dox doc: add a section to the FAQ on how to retrigger hwdb changes 2016-06-30 11:00:44 +10:00
gestures.dox doc: explain the gesture ambiguity for 2-slot touchpads 2016-01-20 15:38:13 +10:00
libinput.doxygen.in doc: use bootstrap for doxygen styling 2015-07-16 14:15:19 +10:00
Makefile.am doc: add two svgs showing the modes 2016-06-22 08:48:01 +10:00
middle-button-emulation.svg evdev: add support for middle button emulation 2015-04-17 12:50:03 +10:00
normalization-of-relative-motion.dox tablet: add support for relative x/y motion deltas 2016-01-22 16:16:55 +10:00
page-hierarchy.dox touchpad: warn if we have invalid touchpad ranges 2016-06-02 08:01:43 +10:00
palm-detection.dox doc: add a link to the dwt config call to the doc 2015-11-16 08:08:50 +10:00
pointer-acceleration.dox tablet: hook up relative motion events 2016-01-22 16:16:55 +10:00
reporting-bugs.dox doc: add a diagram for evemu and note that libinput doesn't recordings 2015-08-24 09:36:22 +10:00
scrolling.dox touchpad: disable 2fg scrolling on Synaptics semi-mt touchpads 2015-07-27 19:34:42 +10:00
seats.dox doc: fix more typos 2015-08-22 16:03:29 +10:00
t440-support.dox Fix spelling mistakes 2016-04-06 07:42:03 +10:00
tablet-support.dox pad: Add a new API for modes and mode groups 2016-06-22 11:57:07 +10:00
tapping.dox touchpad: add a config option to disable tap-and-drag 2016-01-27 10:03:28 +10:00
test-suite.dox test: add a make-like job control to run tests in parallel 2016-08-02 11:26:58 +10:00
tools.dox doc: fix more typos 2015-08-22 16:03:29 +10:00
touchpad-edge-scrolling-state-machine.svg touchpad: Add edge-scrolling support 2014-11-25 17:02:30 +10:00
touchpad-jumping-cursors.dox touchpad: detect and warn about kernel tracking pointer jumps 2016-04-28 10:01:20 +10:00
touchpad-softbutton-state-machine.svg touchpad: Route top softbuttons through the trackstick if we've one 2014-09-19 08:20:00 +10:00
touchpad-tap-state-machine.svg touchpad: add a config option to disable tap-and-drag 2016-01-27 10:03:28 +10:00
touchpads.dox doc: fix more typos 2015-08-22 16:03:29 +10:00