mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 08:11:16 +00:00
validate:launcher: Stop wrongly erroring on testsuite loading failure
When the testsuite was actually already loaded as the .py file was explicitly passed in Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-devtools/-/merge_requests/197>
This commit is contained in:
parent
9f11ba5937
commit
e49876bb05
1 changed files with 3 additions and 2 deletions
|
@ -1061,9 +1061,7 @@ class GstValidateTest(Test):
|
|||
if self.result in [Result.FAILED, Result.PASSED, Result.SKIPPED]:
|
||||
return
|
||||
|
||||
|
||||
self.debug("%s returncode: %s", self, self.process.returncode)
|
||||
|
||||
expected_issues = copy.deepcopy(self.expected_issues)
|
||||
if self.options.rr:
|
||||
# signal.SIGPPIPE is 13 but it sometimes isn't present in python for some reason.
|
||||
|
@ -1740,6 +1738,9 @@ class _TestsLauncher(Loggable):
|
|||
testsuite)
|
||||
self.options.wanted_tests.append(testsuite)
|
||||
else:
|
||||
if testsuite in testsuites:
|
||||
self.info('Testuite %s was loaded previously', testsuite)
|
||||
continue
|
||||
printc("Could not load testsuite: %s, reasons: %s" % (
|
||||
testsuite, loaded_module[1]), Colors.FAIL)
|
||||
continue
|
||||
|
|
Loading…
Reference in a new issue