mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-31 11:17:20 +02:00
ci: be more strict when checking for errors/warnings in build logs
Look for "error|warning" anywhere in the line, not just at the start.
This commit is contained in:
@@ -18,7 +18,7 @@ except ImportError:
|
|||||||
sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))
|
sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))
|
||||||
from find_build_apps import BuildItem, setup_logging
|
from find_build_apps import BuildItem, setup_logging
|
||||||
|
|
||||||
WARNING_REGEX = re.compile(r"^\s*(?:error|warning)", re.MULTILINE | re.IGNORECASE)
|
WARNING_REGEX = re.compile(r"(?:error|warning)", re.MULTILINE | re.IGNORECASE)
|
||||||
|
|
||||||
IGNORE_WARNS = [
|
IGNORE_WARNS = [
|
||||||
re.compile(r_str) for r_str in [
|
re.compile(r_str) for r_str in [
|
||||||
|
Reference in New Issue
Block a user