gstreamer/validate/launcher
Brady J. Garvin 2b8eef30e7 validate:launcher: Ensure a positive job count.
The default number of jobs to use is half of the available cores
rounded down, but in situations where only one core is available (such
as under some VMs), this means that `gst-validate-launcher` defaults
to using zero jobs, a case that the test-running code is not prepared
to handle.

This change makes the code match the documentation for the `--jobs` option,
guards against negative values both in the default setting and in argument
parsing, and introduces some defensive programming to prevent other situations
where the code might try to use zero jobs.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-devtools/-/merge_requests/154>
2021-01-30 10:11:57 -06:00
..
apps validate:launcher: Ensure a positive job count. 2021-01-30 10:11:57 -06:00
testsuites Revert "Revert "launcher: add webrtcbin datachannel tests to valgrind skip list"" 2020-08-26 15:47:23 +01:00
__init__.py validate: Make validate launcher apps work in a meson uninstalled env 2017-01-03 14:38:24 -03:00
baseclasses.py validate:launcher: Ensure a positive job count. 2021-01-30 10:11:57 -06:00
config.py.in validate:launcher: Use gst-integration-testsuites subproject as default testsuite repo if avalaible 2019-04-03 13:38:42 +00:00
httpserver.py validate:launcher: Enhance and standardize output 2019-04-03 13:38:42 +00:00
loggable.py validate:launcher: Support mixed str/bytes control sequences. 2020-01-05 14:09:07 -06:00
main.py validate:launcher: Ensure a positive job count. 2021-01-30 10:11:57 -06:00
meson.build validate:launcher: Use gst-integration-testsuites subproject as default testsuite repo if avalaible 2019-04-03 13:38:42 +00:00
RangeHTTPServer.py Pass python files through autopep8 2019-04-03 13:38:42 +00:00
reporters.py validate: Add a mechanism to mark tests as skipped 2020-05-06 22:54:59 +00:00
utils.py launcher: Avoid variable framerate when encoding to theora 2020-10-23 12:18:40 -03:00
vfb_server.py validate:launcher: Enhance and standardize output 2019-04-03 13:38:42 +00:00