From 08f8b269fa8edcdd40c33624394a4684989d2c7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20K=C3=B6hler?= Date: Wed, 10 Jul 2024 11:57:50 +0000 Subject: [PATCH] fpga: ci: remove color coding from FPGA bitfile name Original-commit: eb5fe85748996675f2ec73e1f10857ba81e66c56 --- tools/utils/repeat_fpga_build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/utils/repeat_fpga_build.py b/tools/utils/repeat_fpga_build.py index bf60445..4f02178 100755 --- a/tools/utils/repeat_fpga_build.py +++ b/tools/utils/repeat_fpga_build.py @@ -119,7 +119,7 @@ def prepare_build(target, image_core, image_core_name, fpga_dir): logging.error("Image builder failed! Consult output for details.") result.check_returncode() # Parse the image builder output to get the make command we need to build the FPGA - make_command = re.search(r"(?<=: )make.*$", result.stderr, flags=re.M).group(0) + make_command = re.search(r": (make [^\x1b\n\r]+)", result.stderr, flags=re.M).group(1) logging.info("Using make command: %s", make_command) else: assert target