Skip to content

Commit 6eaa8d2

Browse files
committed
[CI] Fix error detection
Signed-off-by: Frederic Pillon <[email protected]>
1 parent 9a00681 commit 6eaa8d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: CI/build/arduino-cli.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ def check_status(status, build_conf, boardKo):
496496
error_pattern = re.compile(r":\d+:\d+:\s.*error:\s")
497497
ld_pattern = re.compile("arm-none-eabi/bin/ld:")
498498
overflow_pattern = re.compile(
499-
r"will not fit in region|region .+ overflowed by [\d]+ bytes"
499+
r"(will not fit in |section .+ is not within )?region( .+ overflowed by [\d]+ bytes)?"
500500
)
501501
error_found = False
502502
for i, line in enumerate(open(logFile)):

0 commit comments

Comments
 (0)