summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-03-26 21:13:01 +0700
committerhathach <[email protected]>2025-03-26 21:32:18 +0700
commit901ce2ad93b39c08e8e6b7e5b3f4dbd0b9df879e (patch)
tree27959d28ffed7d77d288f5680617bc5c01a707d9 /test
parent1615120bca3c482b7ba3b2d5620393354acf9c81 (diff)
hcd/ehci: hcd_edpt_open() return false if ep is already opened. implement hcd_edpt_close()
Diffstat (limited to 'test')
-rwxr-xr-xtest/hil/hil_test.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/hil/hil_test.py b/test/hil/hil_test.py
index 662bb3a1f..8b89de66c 100755
--- a/test/hil/hil_test.py
+++ b/test/hil/hil_test.py
@@ -340,8 +340,8 @@ def test_host_device_info(board):
ser.close()
if len(data) == 0:
assert False, 'No data from device'
-
lines = data.decode('utf-8', errors='ignore').splitlines()
+
enum_dev_sn = []
for l in lines:
vid_pid_sn = re.search(r'ID ([0-9a-fA-F]+):([0-9a-fA-F]+) SN (\w+)', l)
@@ -353,7 +353,6 @@ def test_host_device_info(board):
failed_msg = f'Expected {declared_devs}, Enumerated {enum_dev_sn}'
print('\n'.join(lines))
assert False, failed_msg
-
return 0