summaryrefslogtreecommitdiffstats
path: root/test_build.sh
diff options
context:
space:
mode:
authorMartin Roth <gaumless@gmail.com>2022-03-10 15:33:56 -0700
committerNico Huber <nico.h@gmx.de>2022-05-31 19:40:25 +0000
commit9ae0463feeff61bfec90fcdb85213e3114873ad0 (patch)
tree33617e1e2e00ab443e08366083326027757cc559 /test_build.sh
parent910a124741b32e45ca29544c1966dd2588d4fccf (diff)
downloadflashrom-9ae0463feeff61bfec90fcdb85213e3114873ad0.tar.gz
flashrom-9ae0463feeff61bfec90fcdb85213e3114873ad0.tar.bz2
flashrom-9ae0463feeff61bfec90fcdb85213e3114873ad0.zip
test_build.sh: Allow WARNERROR to be overridden
Currently, WARNERROR is hardcoded to 'yes' which is what we want most of the time, but there are cases (such as when building with -fanalyzer) that we don't want it enabled, so we see the entire output of the build, and it doesn't halt at the first error. Removing the WARNERROR line from the script allows the variable to be overridden from an environment variable. Signed-off-by: Martin Roth <gaumless@gmail.com> Change-Id: Iea931e57f2a6992762566dc3dbaae8bb8df5b226 Reviewed-on: https://review.coreboot.org/c/flashrom/+/62745 Reviewed-by: Felix Singer <felixsinger@posteo.net> Reviewed-by: Nico Huber <nico.h@gmx.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'test_build.sh')
-rwxr-xr-xtest_build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test_build.sh b/test_build.sh
index dc286f86a..6c0c093dd 100755
--- a/test_build.sh
+++ b/test_build.sh
@@ -1,7 +1,7 @@
#!/usr/bin/env sh
set -e
-make CONFIG_EVERYTHING=yes WARNERROR=yes
+make CONFIG_EVERYTHING=yes
builddir=out