diff --git a/test/run_test.py b/test/run_test.py index 092416c0f..316edd160 100644 --- a/test/run_test.py +++ b/test/run_test.py @@ -225,15 +225,16 @@ def run_tests(self): test_configuration.bl_firmware) test_info.info("Target: %s" % test_configuration.target) + + if self._load_if: + if_path = test_configuration.if_firmware.hex_path + board.load_interface(if_path, test_info) + valid_bl = test_configuration.bl_firmware is not None if self._load_bl and valid_bl: bl_path = test_configuration.bl_firmware.hex_path board.load_bootloader(bl_path, test_info) - if self._load_if: - if_path = test_configuration.if_firmware.hex_path - board.load_interface(if_path, test_info) - board.set_check_fs_on_remount(True) if self._test_daplink: