ci: tweak detection warning/error messages

Prevents make builds failing because 'tinycbor/src/cborerrorstrings.d'
file name is printed.
This commit is contained in:
Ivan Grokhotkov 2020-07-01 10:47:37 +02:00
parent 6078fcebff
commit a46484400c

View file

@ -18,7 +18,7 @@ except ImportError:
sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))
from find_build_apps import BuildItem, setup_logging
WARNING_REGEX = re.compile(r"(?:error|warning)", re.MULTILINE | re.IGNORECASE)
WARNING_REGEX = re.compile(r"(?:error|warning)[^\w]", re.MULTILINE | re.IGNORECASE)
IGNORE_WARNS = [
re.compile(r_str) for r_str in [