mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-27 01:28:34 +00:00
validate:launcher:punittest: Raise an exception if a testsuite can't be loaded
This commit is contained in:
parent
d1319a1b6d
commit
78781de913
1 changed files with 1 additions and 2 deletions
|
@ -63,8 +63,7 @@ class PythonTestsManager(TestsManager):
|
|||
for testsuite in testsuites:
|
||||
for _tests in testsuite:
|
||||
if isinstance(_tests, unittest.loader._FailedTest):
|
||||
print(_tests._exception)
|
||||
continue
|
||||
raise(_tests._exception)
|
||||
for test in _tests:
|
||||
self.add_test(PythonTest(
|
||||
sys.executable, test.id(),
|
||||
|
|
Loading…
Reference in a new issue