mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-26 04:00:05 +01:00
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> |
||
|---|---|---|
| .. | ||
| dot | ||
| style | ||
| svg | ||
| absolute-axes.dox | ||
| absolute-coordinate-ranges.dox | ||
| clickpad-softbuttons.dox | ||
| device-configuration-via-udev.dox | ||
| faqs.dox | ||
| gestures.dox | ||
| libinput.doxygen.in | ||
| Makefile.am | ||
| middle-button-emulation.svg | ||
| normalization-of-relative-motion.dox | ||
| page-hierarchy.dox | ||
| palm-detection.dox | ||
| pointer-acceleration.dox | ||
| reporting-bugs.dox | ||
| scrolling.dox | ||
| seats.dox | ||
| t440-support.dox | ||
| tablet-support.dox | ||
| tapping.dox | ||
| test-suite.dox | ||
| tools.dox | ||
| touchpad-edge-scrolling-state-machine.svg | ||
| touchpad-jumping-cursors.dox | ||
| touchpad-softbutton-state-machine.svg | ||
| touchpad-tap-state-machine.svg | ||
| touchpads.dox | ||