Martin Roth (martinroth@google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17892
-gerrit
commit 58599e5304ff0c246e07c734b12b08dfecfcd29e Author: Martin Roth martinroth@google.com Date: Thu Dec 15 08:20:00 2016 -0700
what-jenkins-does: Save a list of files not tested if supported
If the filesystem saves access times, generate a list of files that were not used by the jenkins builds.
This helps to determine which files are getting build tested and which are not.
Change-Id: I505efb8ff43baec5983eb234618d2268c062544e Signed-off-by: Martin Roth martinroth@google.com --- Makefile.inc | 8 ++++++++ 1 file changed, 8 insertions(+)
diff --git a/Makefile.inc b/Makefile.inc index c5ce30f..86d0728 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -1054,6 +1054,7 @@ JENKINS_PAYLOAD?=none CPUS?=4 what-jenkins-does: util/lint/lint lint-stable --junit + touch .timestamp 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) @@ -1061,3 +1062,10 @@ what-jenkins-does: $(MAKE) CPUS=$(CPUS) V=$(V) Q=$(Q) BLD_DIR=payloads/ BLD=nvramcui MFLAGS= MAKEFLAGS= MAKETARGET=all junit.xml $(MAKE) CPUS=$(CPUS) V=$(V) Q=$(Q) BLD_DIR=payloads/ BLD=coreinfo MFLAGS= MAKEFLAGS= MAKETARGET=defaultbuild junit.xml $(MAKE) CPUS=$(CPUS) V=$(V) Q=$(Q) BLD_DIR=util/ BLD=romcc MFLAGS= MAKEFLAGS= MAKETARGET=test junit.xml + if [ -z "$(find Makefile -type f ! -anewer .timestamp)" ]; then \ + find . -type f ! -anewer .timestamp | sed 's|./||' | grep '^src/|^util|^payloads' | grep -v '^payloads/external' > coreboot-builds/untested_files.txt; \ + printf "%s untested files\n" "wc -l < coreboot-builds/untested_files.txt"; \ + else \ + echo "Filesystem does not save file access times." > coreboot-builds/untested_files.txt; \ + fi + rm -f .timestamp