mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-20 06:08:14 +00:00
validate:launcher: Handle testslist files even running several testsuites
Only if those testsuites do not use the same Tester as we currently can't know to what testsuite a test belongs.
This commit is contained in:
parent
187df093eb
commit
9190bcf62a
1 changed files with 2 additions and 4 deletions
|
@ -954,6 +954,7 @@ class TestsManager(Loggable):
|
|||
def _check_blacklisted(self, test):
|
||||
for pattern in self.blacklisted_tests_patterns:
|
||||
if pattern.findall(test.classname):
|
||||
self.info("%s is blacklisted by %s", test.classname, pattern)
|
||||
return True
|
||||
|
||||
return False
|
||||
|
@ -1234,15 +1235,12 @@ class _TestsLauncher(Loggable):
|
|||
self._setup_testsuites()
|
||||
|
||||
def _check_tester_has_other_testsuite(self, testsuite, tester):
|
||||
if len(testsuite.TEST_MANAGER) > 1:
|
||||
return True
|
||||
|
||||
if tester.name != testsuite.TEST_MANAGER[0]:
|
||||
return True
|
||||
|
||||
for t in self.options.testsuites:
|
||||
if t != testsuite:
|
||||
for other_testmanager in testsuite.TEST_MANAGER:
|
||||
for other_testmanager in t.TEST_MANAGER:
|
||||
if other_testmanager == tester.name:
|
||||
return True
|
||||
|
||||
|
|
Loading…
Reference in a new issue