From fc95b292803ebf1a47aafec655dfeb4cb0563abf Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Thu, 19 Jul 2018 07:55:02 -0700 Subject: mpm: n3xx: bist: Provide switch for not reloading default FPGA image --- mpm/python/n3xx_bist | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/mpm/python/n3xx_bist b/mpm/python/n3xx_bist index 872eb490e..1a00a0005 100755 --- a/mpm/python/n3xx_bist +++ b/mpm/python/n3xx_bist @@ -280,6 +280,12 @@ class N3XXBIST(object): "output does not necessarily reflect the actual system " "status when using this mode.", ) + parser.add_argument( + '--skip-fpga-reload', action='store_true', + help="Skip reloading the default FPGA image post-test. Note: by" + "specifying this argument, the FPGA image loaded could be " + "anything post-test.", + ) parser.add_argument( 'tests', help="List the tests that should be run", @@ -369,7 +375,7 @@ class N3XXBIST(object): if self.args.lv_compat: result = filter_results_for_lv(result) post_results(result) - if self.reload_fpga_image: + if self.reload_fpga_image and not self.args.skip_fpga_reload: load_fpga_image(self.DEFAULT_FPGA_TYPE) return tests_successful -- cgit v1.2.3