mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-03 04:52:28 +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> |
||
---|---|---|
.. | ||
data | ||
docs | ||
gst | ||
gst-libs | ||
launcher | ||
plugins | ||
tests | ||
tools | ||
.gitignore | ||
COPYING | ||
meson.build | ||
README |
== Gst-Validate The goal of GstValidate is to be able to detect when elements are not behaving as expected and report it to the user so he knows how things are supposed to work inside a GstPipeline. In the end, fixing issues found by the tool will ensure that all elements behave all together in the expected way. The easiest way of using GstValidate is to use one of its command-line tools, located at tools/ directory. It is also possible to monitor GstPipelines from any application by using the LD_PRELOAD gstvalidate lib. The third way of using it is to write your own application that links and uses libgstvalidate. == BUILDING Getting the code: Releases are available at <URL>, download and extract the tarball. If you want to use latest git version, do: git clone <URI> After cloning or extracting from a tarball, enter the gst-validate directory: cd gst-validate Build with: meson build --prefix=<installation-prefix> ninja -C build sudo ninja -C build install (only if you want to install it) Replace <installation-prefix> with your desired installation path, you can omit the --prefix argument if you aren't going to install it or if you want the default /usr/local. It is possible to use gst-validate CLI tools without installation. == INSTRUCTIONS If you are looking for informations on how to use gst-validate -> docs/validate-usage.txt If you are looking for informations on gst-validate design -> docs/validate-design.txt