validate:launcher: Don't about unexisting tests when filtering tests

It was wrong
This commit is contained in:
Thibault Saunier 2018-11-28 10:14:35 -03:00
parent b971a7cd23
commit ec9464dd90

View 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)