summaryrefslogtreecommitdiff
path: root/zephyr/zmake
diff options
context:
space:
mode:
authorJeremy Bettis <jbettis@google.com>2022-03-14 10:40:36 -0600
committerCommit Bot <commit-bot@chromium.org>2022-03-14 22:02:31 +0000
commit92b8901bcbec05ca9d63e9744d03abc540400855 (patch)
tree8f4144bc8876317cff086b035698a3ff397d515a /zephyr/zmake
parentd2ee7cd0fa12d55546ee339a47fd512eeecdb662 (diff)
downloadchrome-ec-92b8901bcbec05ca9d63e9744d03abc540400855.tar.gz
zmake: Remove warning detection
The warning detection in zmake consistently has false positives. Remove it. BRANCH=None BUG=None TEST=zmake test -a Signed-off-by: Jeremy Bettis <jbettis@google.com> Change-Id: I8bd90801f7e188efc66227975387a9a281576e54 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3523203 Tested-by: Jeremy Bettis <jbettis@chromium.org> Auto-Submit: Jeremy Bettis <jbettis@chromium.org> Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Commit-Queue: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'zephyr/zmake')
-rw-r--r--zephyr/zmake/zmake/zmake.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/zephyr/zmake/zmake/zmake.py b/zephyr/zmake/zmake/zmake.py
index a363a4736f..e2ce065740 100644
--- a/zephyr/zmake/zmake/zmake.py
+++ b/zephyr/zmake/zmake/zmake.py
@@ -559,7 +559,6 @@ class Zmake:
rv = self._build(
build_dir=build_dir,
project=project,
- fail_on_warnings=not allow_warnings,
coverage=coverage,
output_files_out=output_files,
)
@@ -589,7 +588,6 @@ class Zmake:
build_dir,
project: zmake.project.Project,
output_files_out=None,
- fail_on_warnings=False,
coverage=False,
):
"""Build a pre-configured build directory."""
@@ -620,12 +618,6 @@ class Zmake:
# Let all output be produced before exiting
for writer in writers:
writer.wait()
- if fail_on_warnings and any(
- w.has_written(logging.WARNING) or w.has_written(logging.ERROR)
- for w in writers
- ):
- self.logger.warning("zmake: Warnings detected in build: aborting")
- return False
return True
procs = []