kopia lustrzana https://github.com/espressif/esp-idf
ci: raise ImportError when search case failed instead of print the error
rodzic
f4a1f56c08
commit
f7a0e0cb5c
|
@ -5,7 +5,6 @@
|
|||
import copy
|
||||
import fnmatch
|
||||
import os
|
||||
import sys
|
||||
import types
|
||||
from typing import List
|
||||
|
||||
|
@ -137,7 +136,6 @@ class Search:
|
|||
test_cases += cls._search_cases_from_file(test_case_file)
|
||||
|
||||
if cls.missing_import_warnings:
|
||||
print('\n\n'.join(cls.missing_import_warnings))
|
||||
sys.exit(1)
|
||||
raise ImportError('\n\n'.join(cls.missing_import_warnings))
|
||||
|
||||
return test_cases
|
||||
|
|
Ładowanie…
Reference in New Issue