mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 11:40:38 +00:00
validate:launcher: Consider wanted tests as whitelisted
This commit is contained in:
parent
612eaa4ad5
commit
615fab620a
1 changed files with 8 additions and 4 deletions
|
@ -1097,7 +1097,15 @@ class TestsManager(Loggable):
|
|||
|
||||
return False
|
||||
|
||||
def _check_whitelisted(self, test):
|
||||
for pattern in self.wanted_tests_patterns:
|
||||
if pattern.findall(test.classname):
|
||||
return True
|
||||
|
||||
def _is_test_wanted(self, test):
|
||||
if self._check_whitelisted(test):
|
||||
return True
|
||||
|
||||
if self._check_blacklisted(test):
|
||||
return False
|
||||
|
||||
|
@ -1110,10 +1118,6 @@ class TestsManager(Loggable):
|
|||
if not self.wanted_tests_patterns:
|
||||
return True
|
||||
|
||||
for pattern in self.wanted_tests_patterns:
|
||||
if pattern.findall(test.classname):
|
||||
return True
|
||||
|
||||
return False
|
||||
|
||||
def test_wait(self):
|
||||
|
|
Loading…
Reference in a new issue