[coreboot-gerrit] Patch set updated for coreboot: lint-kconfig: pipe stderr to stdout to catch script errors
Martin Roth (martinroth@google.com)
gerrit at coreboot.org
Thu Mar 3 05:10:33 CET 2016
Martin Roth (martinroth at google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13877
-gerrit
commit 04532a1a0f342458a72b807b15b50701f42ecdd2
Author: Martin Roth <martinroth at google.com>
Date: Wed Mar 2 13:19:07 2016 -0700
lint-kconfig: pipe stderr to stdout to catch script errors
Because the perl error messages go to stderr, we were not catching these
on the build server. If the script has an issue, we want to know
immediately, so change the bash script that calls into the perl lint
tool to pipe these to stdout.
Change-Id: Ieeec9ccbd59177cfd1859a9738a4ee1fab803d28
Signed-off-by: Martin Roth <martinroth at google.com>
---
util/lint/lint-stable-008-kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/util/lint/lint-stable-008-kconfig b/util/lint/lint-stable-008-kconfig
index 986fdc9..06e41b8 100755
--- a/util/lint/lint-stable-008-kconfig
+++ b/util/lint/lint-stable-008-kconfig
@@ -24,7 +24,7 @@ fi
# If coreboot is in a git repo, use git grep to check as it will ignore any
# files in the tree that aren't checked into git
if [ -n "$(command -v git)" ] && [ -e ".git" ]; then
- env perl util/lint/kconfig_lint --warnings_off
+ env perl util/lint/kconfig_lint --warnings_off 2>&1
else
- env perl util/lint/kconfig_lint --no_git_grep --warnings_off
+ env perl util/lint/kconfig_lint --no_git_grep --warnings_off 2>&1
fi
More information about the coreboot-gerrit
mailing list