validate:launcher: Don't about unexisting tests when filtering tests
authorThibault Saunier <tsaunier@igalia.com>
Wed, 28 Nov 2018 13:14:35 +0000 (10:14 -0300)
committerThibault Saunier <tsaunier@igalia.com>
Wed, 28 Nov 2018 13:19:52 +0000 (10:19 -0300)
It was wrong

validate/launcher/apps/gstvalidate.py

index 87b4fee..49990cf 100644 (file)
@@ -814,7 +814,7 @@ not been tested and explicitely activated if you set use --wanted-tests ALL""")
             for test in generator.generate_tests(uris, scenarios):
                 self.add_test(test)
 
-        if not self.tests and not uris:
+        if not self.tests and not uris and not self.options.wanted_tests:
             printc(
                 "No valid uris present in the path. Check if media files and info files exist", Colors.FAIL)