summaryrefslogtreecommitdiff
path: root/util/testing
diff options
context:
space:
mode:
authorMartin Roth <gaumless@gmail.com>2018-07-15 16:07:51 -0600
committerMartin Roth <martinroth@google.com>2018-07-18 12:19:46 +0000
commit6d4a060bba907ca29b2c69fda9a4ae3e3c73fc44 (patch)
tree79a2fce76a11db4c4848e47364de9c5fadf841d9 /util/testing
parent9911d64b9edb8c055b37b0635e97b4c585aa4ae1 (diff)
what-jenkins-does: Pass V=1 through to abuild
Even though we were setting V=1 in the build, this wasn't getting passed to abuild, so the builds there didn't have additional debug information. That made it difficult to debug issues on the builder. This sets the verbose flag for abuild if V=1 is set. Change-Id: Id9ec50add9693a6c36ffdb5c78d148d0fc012549 Signed-off-by: Martin Roth <gaumless@gmail.com> Reviewed-on: https://review.coreboot.org/27492 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util/testing')
-rw-r--r--util/testing/Makefile.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/testing/Makefile.inc b/util/testing/Makefile.inc
index 839580e9ee..595e8e3bc3 100644
--- a/util/testing/Makefile.inc
+++ b/util/testing/Makefile.inc
@@ -84,8 +84,8 @@ lint lint-stable lint-extended:
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)
+ util/abuild/abuild -B -J $(if $(V),-v,) $(if $(JENKINS_NOCCACHE),,-y) -c $(CPUS) -z -p $(JENKINS_PAYLOAD) -x -X $(top)/abuild-chromeos.xml
+ util/abuild/abuild -B -J $(if $(V),-v,) $(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)
$(foreach tool, $(TOOLLIST), $(MAKE) CPUS=$(CPUS) V=$(V) Q=$(Q) BLD_DIR="util/$(tool)" BLD="$(tool)" MFLAGS= MAKEFLAGS= MAKETARGET= junit.xml; )
unset COREBOOT_BUILD_DIR;$(MAKE) CPUS=$(CPUS) V=$(V) Q=$(Q) BLD_DIR=payloads/nvramcui BLD=nvramcui MFLAGS= MAKEFLAGS= MAKETARGET=all junit.xml