Skip to content

Commit a464844

Browse files
committed
ci: tweak detection warning/error messages
Prevents make builds failing because 'tinycbor/src/cborerrorstrings.d' file name is printed.
1 parent 6078fce commit a464844

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/ci/check_build_warnings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))
1919
from find_build_apps import BuildItem, setup_logging
2020

21-
WARNING_REGEX = re.compile(r"(?:error|warning)", re.MULTILINE | re.IGNORECASE)
21+
WARNING_REGEX = re.compile(r"(?:error|warning)[^\w]", re.MULTILINE | re.IGNORECASE)
2222

2323
IGNORE_WARNS = [
2424
re.compile(r_str) for r_str in [

0 commit comments

Comments
 (0)