@@ -88,12 +88,9 @@ _MANUF_TEST_LOCKED_KEY = None
8888 needs_jtag = True ,
8989 otp = "//hw/ip/otp_ctrl/data:img_{}" .format (lc_state .lower ()),
9090 tags = ["manuf" ],
91- test_cmd = (
92- "" if (
93- (lc_state , lc_val ) in _TEST_LOCKED_LC_ITEMS
94- ) else "--bootstrap={firmware}"
95- ) + " --initial-lc-state={lc_state}" ,
91+ test_cmd = "--initial-lc-state={lc_state}" ,
9692 test_harness = "//sw/host/tests/manuf/manuf_scrap" ,
93+ testopt_bootstrap = str ((lc_state , lc_val ) not in _TEST_LOCKED_LC_ITEMS ),
9794 ),
9895 deps = [
9996 "//sw/device/lib/runtime:log" ,
@@ -129,6 +126,7 @@ opentitan_test(
129126 otp = "//hw/ip/otp_ctrl/data:img_raw" ,
130127 tags = ["manuf" ],
131128 test_harness = "//sw/host/tests/manuf/manuf_cp_unlock_raw" ,
129+ testopt_bootstrap = "False" ,
132130 ),
133131 deps = [
134132 "//hw/ip/otp_ctrl/data:otp_ctrl_c_regs" ,
@@ -151,6 +149,7 @@ opentitan_test(
151149 otp = "//hw/ip/otp_ctrl/data:img_raw" ,
152150 tags = ["manuf" ],
153151 test_harness = "//sw/host/tests/manuf/manuf_cp_volatile_unlock_raw" ,
152+ testopt_bootstrap = "False" ,
154153 ),
155154 deps = [
156155 "//hw/ip/otp_ctrl/data:otp_ctrl_c_regs" ,
@@ -191,6 +190,7 @@ opentitan_test(
191190 tags = ["manuf" ],
192191 test_cmd = "--initial-lc-state={lc_state}" ,
193192 test_harness = "//sw/host/tests/manuf/manuf_cp_yield_test" ,
193+ testopt_bootstrap = "False" ,
194194 ),
195195 deps = [
196196 "//hw/ip/otp_ctrl/data:otp_ctrl_c_regs" ,
@@ -262,6 +262,7 @@ cc_library(
262262 tags = ["manuf" ],
263263 test_cmd = "--elf={firmware}" ,
264264 test_harness = "//sw/host/tests/manuf/manuf_sram_program_crc_check" ,
265+ testopt_bootstrap = "False" ,
265266 ),
266267 kind = "ram" ,
267268 linker_script = "//sw/device/silicon_creator/manuf/lib:sram_program_linker_script" ,
@@ -360,6 +361,7 @@ opentitan_binary(
360361 --elf={sram_program}
361362 """ ,
362363 test_harness = "//sw/host/tests/manuf/manuf_cp_device_info_flash_wr" ,
364+ testopt_bootstrap = "False" ,
363365 ),
364366 spx_key = spx_key_for_lc_state (
365367 ECDSA_SPX_KEY_STRUCTS ,
@@ -440,6 +442,7 @@ opentitan_binary(
440442 --elf={sram_program}
441443 """ ,
442444 test_harness = "//sw/host/tests/manuf/manuf_cp_ast_test_execution" ,
445+ testopt_bootstrap = "False" ,
443446 ),
444447 deps = [
445448 "//sw/device/lib/runtime:log" ,
@@ -473,6 +476,7 @@ opentitan_test(
473476 otp = ":otp_img_otp_ctrl_functest" ,
474477 tags = ["manuf" ],
475478 test_harness = "//sw/host/tests/manuf/manuf_cp_test_lock" ,
479+ testopt_bootstrap = "False" ,
476480 ),
477481 deps = [
478482 "//hw/ip/otp_ctrl/data:otp_ctrl_c_regs" ,
@@ -501,6 +505,7 @@ opentitan_test(
501505 otp = ":otp_img_otp_ctrl_functest" ,
502506 tags = ["manuf" ],
503507 test_harness = "//sw/host/tests/manuf/otp_ctrl:otp_ctrl" ,
508+ testopt_bootstrap = "False" ,
504509 ),
505510 deps = [
506511 "//hw/ip/otp_ctrl/data:otp_ctrl_c_regs" ,
@@ -557,9 +562,6 @@ opentitan_test(
557562 },
558563 fpga = fpga_params (
559564 tags = ["manuf" ],
560- test_cmd = """
561- --bootstrap={firmware}
562- """ ,
563565 test_harness = "//sw/host/tests/manuf/manuf_ujson_msg_size" ,
564566 ),
565567 deps = [
@@ -579,9 +581,6 @@ opentitan_test(
579581 },
580582 fpga = fpga_params (
581583 tags = ["manuf" ],
582- test_cmd = """
583- --bootstrap={firmware}
584- """ ,
585584 test_harness = "//sw/host/tests/manuf/manuf_ujson_msg_padding" ,
586585 ),
587586 deps = [
0 commit comments