gstreamer/validate/launcher/apps
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
..
__init__.py validate: launcher: Make the gstvalidate application a python module 2014-12-07 18:32:37 +01:00
gstcheck.py validate:launcher: Ensure a positive job count. 2021-01-30 10:11:57 -06:00
gstvalidate.py validate:launcher: Bump hard timeouts for all transcodin tests 2020-10-23 12:18:40 -03:00
meson.build validate:launcher: Add a TestManager to run python tests 2018-06-15 17:57:24 -04:00
pyunittest.py validate:launcher:punittest: Raise an exception if a testsuite can't be loaded 2019-01-30 15:57:13 -03:00