From 5a06cf2807bcf94587ff49ad91932971bb6550d7 Mon Sep 17 00:00:00 2001
From: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Date: Mon, 30 Jan 2017 09:08:59 +0100
Subject: [PATCH] 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
---
 README.md | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index a5d4103a7a..2d5d73a01b 100644
--- a/README.md
+++ b/README.md
@@ -71,10 +71,22 @@ You can easily run the test of all the components:
 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:
 
 ```
-mesontest -C build/ gst/gstbuffer
+mesontest -C build/ --suite gstreamer gst/gstbuffer
 ```
 
 ## Add information about GStreamer development environment in your prompt line