Skip to content

Commit 3047464

Browse files
committed
[tests] Add support for QEMU for certain USB tests
Signed-off-by: Amaury Pouly <[email protected]>
1 parent 2e01aca commit 3047464

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

sw/device/tests/BUILD

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4595,6 +4595,9 @@ opentitan_test(
45954595
exec_env = dicts.add(
45964596
EARLGREY_TEST_ENVS,
45974597
EARLGREY_SILICON_OWNER_ROM_EXT_ENVS,
4598+
{
4599+
"//hw/top_earlgrey:sim_qemu_rom_with_fake_keys": None,
4600+
},
45984601
),
45994602
fpga = fpga_params(
46004603
test_cmd = """
@@ -4782,6 +4785,14 @@ opentitan_test(
47824785
""",
47834786
test_harness = "//sw/host/tests/chip/usb:usb_harness",
47844787
),
4788+
qemu = qemu_params(
4789+
# Require the PHY_PINS_SENSE register.
4790+
tags = ["broken"],
4791+
test_cmd = """
4792+
--no-wait-for-usb-device
4793+
""",
4794+
test_harness = "//sw/host/tests/chip/usb:usb_harness",
4795+
),
47854796
silicon = silicon_params(
47864797
test_cmd = """
47874798
--bootstrap="{firmware}"
@@ -4818,6 +4829,12 @@ opentitan_test(
48184829
""",
48194830
test_harness = "//sw/host/tests/chip/usb:usb_harness",
48204831
),
4832+
qemu = qemu_params(
4833+
test_cmd = """
4834+
--no-wait-for-usb-device
4835+
""",
4836+
test_harness = "//sw/host/tests/chip/usb:usb_harness",
4837+
),
48214838
silicon = silicon_params(
48224839
test_cmd = """
48234840
--bootstrap="{firmware}"

0 commit comments

Comments
 (0)