README: update tests section

- Add example to list all tests
- Add example to run all tests of a specific component
- Update example running one specific test to avoid test name clashes
with other components.

https://bugzilla.gnome.org/show_bug.cgi?id=776718
This commit is contained in:
Guillaume Desmottes 2017-01-30 09:08:59 +01:00 committed by Tim-Philipp Müller
parent f822ffead9
commit 5a06cf2807

View file

@ -71,10 +71,22 @@ You can easily run the test of all the components:
mesontest -C build mesontest -C build
``` ```
To list all available tests:
```
mesontest -C build --list
```
To run all the tests of a specific component:
```
mesontest -C build --suite gst-plugins-base
```
Or to run a specific test: Or to run a specific test:
``` ```
mesontest -C build/ gst/gstbuffer mesontest -C build/ --suite gstreamer gst/gstbuffer
``` ```
## Add information about GStreamer development environment in your prompt line ## Add information about GStreamer development environment in your prompt line