Skip to content

Commit

Permalink
[sival,tests] Add more silicon_owner_rom_ext tests
Browse files Browse the repository at this point in the history
Signed-off-by: Guillermo Maturana <[email protected]>
  • Loading branch information
matutem committed Jan 5, 2024
1 parent 38d5796 commit e3adbe5
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 6 deletions.
42 changes: 36 additions & 6 deletions sw/device/tests/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,12 @@ opentitan_test(
name = "alert_handler_ping_timeout_test",
srcs = ["alert_handler_ping_timeout_test.c"],
cw310 = new_cw310_params(timeout = "moderate"),
exec_env = EARLGREY_TEST_ENVS,
exec_env = dicts.add(
EARLGREY_TEST_ENVS,
{
"//hw/top_earlgrey:silicon_owner_sival_rom_ext": None,
},
),
verilator = new_verilator_params(timeout = "long"),
deps = [
"//hw/top_earlgrey:alert_handler_regs",
Expand Down Expand Up @@ -486,7 +491,12 @@ opentitan_test(
opentitan_test(
name = "aon_timer_wdog_lc_escalate_test",
srcs = ["aon_timer_wdog_lc_escalate_test.c"],
exec_env = EARLGREY_TEST_ENVS,
exec_env = dicts.add(
EARLGREY_TEST_ENVS,
{
"//hw/top_earlgrey:silicon_owner_sival_rom_ext": None,
},
),
verilator = new_verilator_params(timeout = "long"),
deps = [
"//hw/top_earlgrey/sw/autogen:top_earlgrey",
Expand All @@ -511,7 +521,12 @@ opentitan_test(
opentitan_test(
name = "aon_timer_sleep_wdog_sleep_pause_test",
srcs = ["aon_timer_sleep_wdog_sleep_pause_test.c"],
exec_env = EARLGREY_TEST_ENVS,
exec_env = dicts.add(
EARLGREY_TEST_ENVS,
{
"//hw/top_earlgrey:silicon_owner_sival_rom_ext": None,
},
),
deps = [
"//hw/top_earlgrey/sw/autogen:top_earlgrey",
"//sw/device/lib/base:mmio",
Expand Down Expand Up @@ -1342,7 +1357,12 @@ opentitan_test(
opentitan_test(
name = "example_concurrency_test",
srcs = ["example_concurrency_test.c"],
exec_env = EARLGREY_TEST_ENVS,
exec_env = dicts.add(
EARLGREY_TEST_ENVS,
{
"//hw/top_earlgrey:silicon_owner_sival_rom_ext": None,
},
),
deps = [
"//sw/device/lib/runtime:log",
"//sw/device/lib/testing/test_framework:check",
Expand Down Expand Up @@ -3202,7 +3222,12 @@ opentitan_test(
opentitan_test(
name = "sram_ctrl_smoketest",
srcs = ["sram_ctrl_smoketest.c"],
exec_env = EARLGREY_TEST_ENVS,
exec_env = dicts.add(
EARLGREY_TEST_ENVS,
{
"//hw/top_earlgrey:silicon_owner_sival_rom_ext": None,
},
),
deps = [
"//hw/top_earlgrey/sw/autogen:top_earlgrey",
"//sw/device/lib/arch:device",
Expand Down Expand Up @@ -4225,7 +4250,12 @@ opentitan_test(
opentitan_test(
name = "sram_ctrl_memset_test",
srcs = ["sram_ctrl_memset_test.c"],
exec_env = EARLGREY_TEST_ENVS,
exec_env = dicts.add(
EARLGREY_TEST_ENVS,
{
"//hw/top_earlgrey:silicon_owner_sival_rom_ext": None,
},
),
deps = [
"//hw/top_earlgrey/sw/autogen:top_earlgrey",
"//sw/device/lib/arch:device",
Expand Down
6 changes: 6 additions & 0 deletions sw/device/tests/sival/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ test_suite(
"//sw/device/tests:spi_device_smoketest",
"//sw/device/tests:sram_ctrl_sleep_sram_ret_contents_no_scramble_test",
"//sw/device/tests:sram_ctrl_sleep_sram_ret_contents_scramble_test",
"//sw/device/tests:sram_ctrl_smoketest",
"//sw/device/tests:uart0_tx_rx_test",
"//sw/device/tests:uart1_tx_rx_test",
"//sw/device/tests:uart2_tx_rx_test",
Expand All @@ -58,6 +59,9 @@ test_suite(
tests = [
"//sw/device/tests:aes_entropy_test",
"//sw/device/tests:aes_idle_test",
"//sw/device/tests:alert_handler_ping_timeout_test",
"//sw/device/tests:aon_timer_sleep_wdog_sleep_pause_test",
"//sw/device/tests:aon_timer_wdog_lc_escalate_test",
"//sw/device/tests:clkmgr_jitter_frequency_test",
"//sw/device/tests:clkmgr_off_aes_trans_test",
"//sw/device/tests:clkmgr_off_hmac_trans_test",
Expand All @@ -77,6 +81,7 @@ test_suite(
"//sw/device/tests:entropy_src_edn_reqs_test",
"//sw/device/tests:entropy_src_fw_ovr_test",
"//sw/device/tests:entropy_src_kat_test",
"//sw/device/tests:example_concurrency_test",
"//sw/device/tests:flash_ctrl_clock_freqs_test",
"//sw/device/tests:flash_ctrl_idle_low_power_test",
"//sw/device/tests:flash_ctrl_ops_test",
Expand Down Expand Up @@ -111,6 +116,7 @@ test_suite(
"//sw/device/tests:sensor_ctrl_alert_test",
"//sw/device/tests:sensor_ctrl_wakeup_test",
"//sw/device/tests:sleep_pwm_pulses_test",
"//sw/device/tests:sram_ctrl_memset_test",
"//sw/device/tests:sram_ctrl_subword_access_test",
],
)

0 comments on commit e3adbe5

Please sign in to comment.