Skip to content

Commit fc95b29

Browse files
committed
mpm: n3xx: bist: Provide switch for not reloading default FPGA image
1 parent e56d918 commit fc95b29

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

mpm/python/n3xx_bist

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,12 @@ class N3XXBIST(object):
280280
"output does not necessarily reflect the actual system "
281281
"status when using this mode.",
282282
)
283+
parser.add_argument(
284+
'--skip-fpga-reload', action='store_true',
285+
help="Skip reloading the default FPGA image post-test. Note: by"
286+
"specifying this argument, the FPGA image loaded could be "
287+
"anything post-test.",
288+
)
283289
parser.add_argument(
284290
'tests',
285291
help="List the tests that should be run",
@@ -369,7 +375,7 @@ class N3XXBIST(object):
369375
if self.args.lv_compat:
370376
result = filter_results_for_lv(result)
371377
post_results(result)
372-
if self.reload_fpga_image:
378+
if self.reload_fpga_image and not self.args.skip_fpga_reload:
373379
load_fpga_image(self.DEFAULT_FPGA_TYPE)
374380
return tests_successful
375381

0 commit comments

Comments
 (0)