summaryrefslogtreecommitdiff
path: root/test/hil
diff options
context:
space:
mode:
authorhathach <[email protected]>2026-06-22 15:36:37 +0700
committerhathach <[email protected]>2026-06-22 15:36:37 +0700
commit706e4a5daaf8bbb55f0a7d00b69d4bc3c4cd70eb (patch)
tree4b9d46e8b6397ba050d7fba159a67efc0d511eca /test/hil
parent8abaf22bb6f2b63910cf35fb70cd223d0e4b30cd (diff)
parent299c0a55629691f6bbded895a4be377633e815ab (diff)
Merge remote-tracking branch 'origin/master' into add-ch58x-usbfs
Diffstat (limited to 'test/hil')
-rwxr-xr-xtest/hil/hil_test.py9
-rw-r--r--test/hil/tinyusb.json3
2 files changed, 4 insertions, 8 deletions
diff --git a/test/hil/hil_test.py b/test/hil/hil_test.py
index ec6c7c448..07375c1ad 100755
--- a/test/hil/hil_test.py
+++ b/test/hil/hil_test.py
@@ -22,7 +22,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
-# Host setup:
+# Host setup (required: a missing tool fails its test rather than skipping it):
# - System packages: sudo apt install mtools libmtp9 alsa-utils iperf
# mtools - read_disk_file (device/cdc_msc, device/msc_dual_lun)
# libmtp9 - pymtp ctypes load (device/mtp); Debian 13 uses libmtp9t64
@@ -51,7 +51,6 @@ import serial
import subprocess
import json
import glob
-import shutil
from multiprocessing import Pool, Lock
from multiprocessing import TimeoutError as MpTimeoutError
import hashlib
@@ -1380,10 +1379,6 @@ def test_device_audio_test_freertos(board):
if os.name == 'nt':
return 'skipped'
- arecord = shutil.which('arecord')
- if arecord is None:
- return 'skipped'
-
pcm = None
timeout = ENUM_TIMEOUT
while timeout > 0:
@@ -1397,7 +1392,7 @@ def test_device_audio_test_freertos(board):
raw_path = f'/tmp/tinyusb_audio_{uid}.raw'
cmd = [
- arecord,
+ 'arecord',
'-D', pcm,
'-q',
'-f', 'S16_LE',
diff --git a/test/hil/tinyusb.json b/test/hil/tinyusb.json
index 71d92aae1..2ea910c4c 100644
--- a/test/hil/tinyusb.json
+++ b/test/hil/tinyusb.json
@@ -132,6 +132,7 @@
"device": true,
"host": false,
"dual": true,
+ "skip": ["device/audio_test_freertos"],
"dev_attached": [
{
"vid_pid": "067b_2303",
@@ -139,7 +140,7 @@
"is_cdc": true
}
],
- "comment": "pl23x"
+ "comment": "pl23x; audio_test_freertos skipped: samd51 iso-IN capture fails (arecord EIO)"
},
"flasher": {
"name": "jlink",