mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
validate:launcher Rename _other_testsuite_for_tester
To _check_tester_has_other_testsuite
This commit is contained in:
parent
919db98605
commit
7079d1910d
1 changed files with 2 additions and 2 deletions
|
@ -1036,7 +1036,7 @@ class _TestsLauncher(Loggable):
|
||||||
if not options.config and options.testsuites:
|
if not options.config and options.testsuites:
|
||||||
self._setup_testsuites()
|
self._setup_testsuites()
|
||||||
|
|
||||||
def _other_testsuite_for_tester(self, testsuite, tester):
|
def _check_tester_has_other_testsuite(self, testsuite, tester):
|
||||||
if len(testsuite.TEST_MANAGER) > 1:
|
if len(testsuite.TEST_MANAGER) > 1:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
@ -1057,7 +1057,7 @@ class _TestsLauncher(Loggable):
|
||||||
|
|
||||||
tests_names = [test.classname for test in tests]
|
tests_names = [test.classname for test in tests]
|
||||||
for testsuite in self.options.testsuites:
|
for testsuite in self.options.testsuites:
|
||||||
if not self._other_testsuite_for_tester(testsuite, tester) \
|
if not self._check_tester_has_other_testsuite(testsuite, tester) \
|
||||||
and tester.check_testslist:
|
and tester.check_testslist:
|
||||||
try:
|
try:
|
||||||
testlist_file = open(os.path.splitext(testsuite.__file__)[0] + ".testslist",
|
testlist_file = open(os.path.splitext(testsuite.__file__)[0] + ".testslist",
|
||||||
|
|
Loading…
Reference in a new issue