fix hil board_test duplication, add cdc_msc_freertos test

This commit is contained in:
hathach
2024-07-18 13:21:38 +07:00
parent b8581b4ab7
commit 30a48c57bd
2 changed files with 30 additions and 7 deletions

View File

@@ -335,9 +335,13 @@ def main():
with open(config_file) as f:
config = json.load(f)
# all possible tests
# all possible tests: board_test is added last to disable board's usb
all_tests = [
'cdc_dual_ports', 'cdc_msc', 'dfu', 'dfu_runtime', 'hid_boot_interface',
'cdc_dual_ports',
'cdc_msc', 'cdc_msc_freertos',
'dfu', 'dfu_runtime',
'hid_boot_interface',
'board_test'
]
if len(boards) == 0:
@@ -352,13 +356,10 @@ def main():
# default to all tests
if 'tests' in item:
test_list = item['tests']
test_list = item['tests'] + ['board_test']
else:
test_list = all_tests
# board_test is added last to disable board's usb
test_list.append('board_test')
# remove skip_tests
if 'tests_skip' in item:
for skip in item['tests_skip']: