lint: create two classes of tests, stable and dev
We have tests that pass (and should be enforced soonish) and those that don't pass yet (and thus shouldn't break the build). The plan is simple: As soon as a test passes, it's marked stable so things remain that way. "make lint" runs all tests, "make lint-stable" runs only those that shouldn't fail. Change-Id: Iaa85d71141606d9756e29b37c7a34c2a15e573ac Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-on: http://review.coreboot.org/681 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
parent
9c7467ea63
commit
cb02cb70d8
|
@ -34,7 +34,7 @@ coreboot: $(obj)/coreboot.rom
|
||||||
|
|
||||||
#######################################################################
|
#######################################################################
|
||||||
# our phony targets
|
# our phony targets
|
||||||
PHONY+= clean-abuild coreboot
|
PHONY+= clean-abuild coreboot lint lint-stable
|
||||||
|
|
||||||
#######################################################################
|
#######################################################################
|
||||||
# root source directories of coreboot
|
# root source directories of coreboot
|
||||||
|
@ -218,9 +218,9 @@ printcrt0s:
|
||||||
update:
|
update:
|
||||||
dongle.py -c /dev/term/1 $(obj)/coreboot.rom EOF
|
dongle.py -c /dev/term/1 $(obj)/coreboot.rom EOF
|
||||||
|
|
||||||
lint:
|
lint lint-stable:
|
||||||
FAILED=0; LINTLOG=`mktemp`; \
|
FAILED=0; LINTLOG=`mktemp`; \
|
||||||
for script in util/lint/lint-*; do \
|
for script in util/lint/$@-*; do \
|
||||||
echo; echo `basename $$script`; \
|
echo; echo `basename $$script`; \
|
||||||
grep "^# DESCR:" $$script | sed "s,.*DESCR: *,," ; \
|
grep "^# DESCR:" $$script | sed "s,.*DESCR: *,," ; \
|
||||||
echo ========; \
|
echo ========; \
|
||||||
|
|
Loading…
Reference in New Issue