summaryrefslogtreecommitdiff
path: root/util/testing
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2016-08-30 09:39:48 -0600
committerMartin Roth <martinroth@google.com>2017-08-14 18:05:41 +0000
commitea383676cf7e36b48d9d548d286297271f463cab (patch)
tree94b48bb5ae9f70f4faea0598d8563be998d4ec9f /util/testing
parent35bfb9d9be3dcb6c8605a7dbe02da13a349aa995 (diff)
downloadcoreboot-ea383676cf7e36b48d9d548d286297271f463cab.tar.xz
Makefile.inc: lint: Update to run lint-extended scripts
- Add lint-extended as a valid option - Call lint-extend from what-jenkins-does and test-lint - When logging to a junit.xml file, name the file extended-junit.xml so it doesn't conflict with the stable junit.xml file. Change-Id: I7e4156844b8c60790e03a0e43564610bb0c8f386 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/16362 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Chris Ching <chingcodes@chromium.org>
Diffstat (limited to 'util/testing')
-rw-r--r--util/testing/Makefile.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/util/testing/Makefile.inc b/util/testing/Makefile.inc
index 160210b3e7..977bc9fcc0 100644
--- a/util/testing/Makefile.inc
+++ b/util/testing/Makefile.inc
@@ -67,11 +67,12 @@ JENKINS_PAYLOAD?=none
TEST_PAYLOAD?=$(JENKINS_PAYLOAD)
CPUS?=4
-lint lint-stable:
+lint lint-stable lint-extended:
util/lint/lint $@
what-jenkins-does:
util/lint/lint lint-stable --junit
+ util/lint/lint lint-extended --junit
util/abuild/abuild -B -J $(if $(JENKINS_NOCCACHE),,-y) -c $(CPUS) -z -p $(JENKINS_PAYLOAD) -x -X $(top)/abuild-chromeos.xml
util/abuild/abuild -B -J $(if $(JENKINS_NOCCACHE),,-y) -c $(CPUS) -z -p $(JENKINS_PAYLOAD)
(cd payloads/libpayload; unset COREBOOT_BUILD_DIR; $(MAKE) $(if $(JENKINS_NOCCACHE),,CONFIG_LP_CCACHE=y) V=$(V) Q=$(Q) junit.xml)
@@ -84,7 +85,7 @@ test-basic: test-lint test-tools test-abuild test-payloads test-cleanup
test-lint:
util/lint/lint lint-stable
- util/lint/lint-015-final-newlines
+ util/lint/lint lint-extended
test-abuild:
rm -rf coreboot-builds-chromeos coreboot-builds