@@ -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" ,
@@ -191,6 +188,7 @@ opentitan_test(
191188 tags = ["manuf" ],
192189 test_cmd = "--initial-lc-state={lc_state}" ,
193190 test_harness = "//sw/host/tests/manuf/manuf_cp_yield_test" ,
191+ testopt_bootstrap = "False" ,
194192 ),
195193 deps = [
196194 "//hw/ip/otp_ctrl/data:otp_ctrl_c_regs" ,
@@ -262,6 +260,7 @@ cc_library(
262260 tags = ["manuf" ],
263261 test_cmd = "--elf={firmware}" ,
264262 test_harness = "//sw/host/tests/manuf/manuf_sram_program_crc_check" ,
263+ testopt_bootstrap = "False" ,
265264 ),
266265 kind = "ram" ,
267266 linker_script = "//sw/device/silicon_creator/manuf/lib:sram_program_linker_script" ,
@@ -355,7 +354,6 @@ opentitan_binary(
355354 tags = ["manuf" ],
356355 target_lc_state = target_lc_state , # will be expanded in test_cmd
357356 test_cmd = """
358- --bootstrap={firmware}
359357 --target-lc-state={target_lc_state}
360358 --elf={sram_program}
361359 """ ,
@@ -440,6 +438,7 @@ opentitan_binary(
440438 --elf={sram_program}
441439 """ ,
442440 test_harness = "//sw/host/tests/manuf/manuf_cp_ast_test_execution" ,
441+ testopt_bootstrap = "False" ,
443442 ),
444443 deps = [
445444 "//sw/device/lib/runtime:log" ,
@@ -557,9 +556,6 @@ opentitan_test(
557556 },
558557 fpga = fpga_params (
559558 tags = ["manuf" ],
560- test_cmd = """
561- --bootstrap={firmware}
562- """ ,
563559 test_harness = "//sw/host/tests/manuf/manuf_ujson_msg_size" ,
564560 ),
565561 deps = [
@@ -579,9 +575,6 @@ opentitan_test(
579575 },
580576 fpga = fpga_params (
581577 tags = ["manuf" ],
582- test_cmd = """
583- --bootstrap={firmware}
584- """ ,
585578 test_harness = "//sw/host/tests/manuf/manuf_ujson_msg_padding" ,
586579 ),
587580 deps = [
0 commit comments