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@google.com> Reviewed-on: https://review.coreboot.org/13877 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
parent
bc839fba3d
commit
b1bca88a04
|
@ -24,7 +24,7 @@ fi
|
||||||
# If coreboot is in a git repo, use git grep to check as it will ignore any
|
# 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
|
# files in the tree that aren't checked into git
|
||||||
if [ -n "$(command -v git)" ] && [ -e ".git" ]; then
|
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
|
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
|
fi
|
||||||
|
|
Loading…
Reference in New Issue