mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix after rebase
This commit is contained in:
parent
53aacef29c
commit
a238b266c2
@ -164,13 +164,14 @@ class UnitTestAssignTest(CIAssignTest.AssignTest):
|
||||
return test_cases
|
||||
|
||||
test_cases = []
|
||||
if os.path.isdir(test_case_path):
|
||||
for yml_file in find_by_suffix('.yml', test_case_path):
|
||||
if os.path.isdir(self.test_case_path):
|
||||
for yml_file in find_by_suffix('.yml', self.test_case_path):
|
||||
test_cases.extend(get_test_cases_from_yml(yml_file))
|
||||
elif os.path.isfile(test_case_path):
|
||||
test_cases.extend(get_test_cases_from_yml(test_case_path))
|
||||
elif os.path.isfile(self.test_case_path):
|
||||
test_cases.extend(get_test_cases_from_yml(self.test_case_path))
|
||||
else:
|
||||
print("Test case path is invalid. Should only happen when use @bot to skip unit test.")
|
||||
raise SystemExit(1)
|
||||
|
||||
# filter keys are lower case. Do map lower case keys with original keys.
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user