mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 08:11:16 +00:00
2b8eef30e7
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> |
||
---|---|---|
.. | ||
__init__.py | ||
gstcheck.py | ||
gstvalidate.py | ||
meson.build | ||
pyunittest.py |