Zheng Bao (zheng.bao@amd.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1526
-gerrit
commit 5799bcf3571f806df780163a1c37d6b9c261a918 Author: Zheng Bao fishbaozi@gmail.com Date: Mon Sep 17 13:15:49 2012 +0800
lint: Dont highlight the matching text in grep
Sometimes we like to make grep auto-highlight the match text by setting the alias or the GREP_COLORS. This will make the compare_output in lint-002 catch the difference between 2 strings which text are same but color are different. Override the color option.
Change-Id: Ia257214fe5149e084e8eac3fb551a494eaa46ae6 Signed-off-by: Zheng Bao zheng.bao@amd.com Signed-off-by: Zheng Bao fishbaozi@gmail.com --- util/lint/lint-stable-002-build-dir-handling | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util/lint/lint-stable-002-build-dir-handling b/util/lint/lint-stable-002-build-dir-handling index d5295d2..688c16c 100755 --- a/util/lint/lint-stable-002-build-dir-handling +++ b/util/lint/lint-stable-002-build-dir-handling @@ -37,7 +37,7 @@ $MAKE CONFIG_USE_BLOBS=n CONFIG_CCACHE=n CONFIG_SCANBUILD_ENABLE=n NOMKDIR=1 \ DOTCONFIG=$TMPCONFIG obj=$1 printall | \ sed -e "s,^ *,," -e "s,^r.mstage-objs:=,," \ -e "s,mainboard/[^/]*/[^/]*/,.../,g" | \ - tr " " "\n" | grep "/static.*.[co]" | sort | \ + tr " " "\n" | grep --color=never "/static.*.[co]" | sort | \ tr '\012\015' ' ' | sed -e "s, *, ,g" -e "s, *$,," }