Move local target detection to ttfw_idf

rename upper_list to upper_list_or_str
minor fix for `unit_test.py` `is 'name'` -> `== 'name`
This commit is contained in:
Fu Hanxi
2020-05-29 12:39:58 +08:00
parent e99172fbac
commit 377d3eaaa5
5 changed files with 94 additions and 75 deletions

View File

@@ -111,8 +111,6 @@ class Search(object):
# mark the cases with targets not in ci_target
for case in replicated_cases:
ci_target = case.case_info['ci_target']
if isinstance(ci_target, str):
ci_target = [ci_target]
if not ci_target or case.case_info['target'] in ci_target:
case.case_info['supported_in_ci'] = True
else: