summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorhathach <[email protected]>2024-07-18 13:21:38 +0700
committerhathach <[email protected]>2024-07-18 13:21:38 +0700
commit30a48c57bd2f56d38c846e1f3257b2bde9ab4a9c (patch)
tree22125fe6e2f4a73bb4a6778653c02015f18a3e2b /test
parentb8581b4ab758e29af2a4b36cbd3f9f3171d856e4 (diff)
fix hil board_test duplication, add cdc_msc_freertos test
Diffstat (limited to 'test')
-rw-r--r--test/hil/hil_test.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/test/hil/hil_test.py b/test/hil/hil_test.py
index f571e6e02..87cf5d0f6 100644
--- a/test/hil/hil_test.py
+++ b/test/hil/hil_test.py
@@ -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']: