diff options
| author | hathach <[email protected]> | 2026-03-19 22:59:22 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2026-03-19 22:59:22 +0700 |
| commit | 0c6fa9bd7f4d2619a538fcfd866ef6150fa2adeb (patch) | |
| tree | d697e157d33c458ca832c21d64f2a66ebbd1b538 /test | |
| parent | 0fd8fd45b51a62f118203ec729574119eb03d526 (diff) | |
Add EPX transfer scheduling when hcd_edpt_xfer() is called while epx is busy
Diffstat (limited to 'test')
| -rwxr-xr-x | test/hil/hil_test.py | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/test/hil/hil_test.py b/test/hil/hil_test.py index 41e9fad88..b3458e59d 100755 --- a/test/hil/hil_test.py +++ b/test/hil/hil_test.py @@ -475,7 +475,7 @@ def test_host_cdc_msc_hid(board): cdc_devs = [d for d in dev_attached if d.get('is_cdc')] msc_devs = [d for d in dev_attached if d.get('is_msc')] if not cdc_devs and not msc_devs: - return + return 'skipped' port = get_serial_dev(flasher["uid"], None, None, 0) ser = open_serial_dev(port) @@ -568,7 +568,7 @@ def test_host_msc_file_explorer(board): flasher = board['flasher'] msc_devs = [d for d in board['tests'].get('dev_attached', []) if d.get('is_msc')] if not msc_devs: - return + return 'skipped' port = get_serial_dev(flasher["uid"], None, None, 0) ser = open_serial_dev(port) @@ -1113,8 +1113,11 @@ def test_example(board, f1, example): ret = globals()[f'flash_{board["flasher"]["name"].lower()}'](board, fw_name) if ret.returncode == 0: try: - globals()[f'test_{example.replace("/", "_")}'](board) - print(' OK', end='') + tret = globals()[f'test_{example.replace("/", "_")}'](board) + if tret == 'skipped': + print(f' {STATUS_SKIPPED}', end='') + else: + print(' OK', end='') break except Exception as e: if i == max_rety - 1: |
