[coreboot-gerrit] New patch to review for coreboot: abuild: Don't keep around old junit reports

Patrick Georgi (pgeorgi@google.com) gerrit at coreboot.org
Sat Oct 31 09:14:52 CET 2015


Patrick Georgi (pgeorgi at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/12280

-gerrit

commit ac2c97bc4025cfffe4b561dd492bdc04f26b4e7f
Author: Patrick Georgi <pgeorgi at chromium.org>
Date:   Sat Oct 31 08:53:30 2015 +0100

    abuild: Don't keep around old junit reports
    
    junit reports were kept around (and appended to) in some cases, leading
    to duplicate reports on jenkins.
    Drop old per-mainboard reports before building said boards, and do the
    same for the tools (reported thrice).
    
    Change-Id: I74a035587bbf917dca85ba6fc74621c583efe9a2
    Signed-off-by: Patrick Georgi <pgeorgi at chromium.org>
---
 util/abuild/abuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/util/abuild/abuild b/util/abuild/abuild
index daf53c6..51011a1 100755
--- a/util/abuild/abuild
+++ b/util/abuild/abuild
@@ -315,6 +315,7 @@ function build_target
 	mkdir -p $TARGET/${MAINBOARD} $TARGET/abuild
 	ABSPATH=`cd $TARGET/abuild; pwd`
 	XMLFILE=$ABSPATH/${MAINBOARD}.xml
+	rm -f ${XMLFILE}
 
 
 	stime=`perl -e 'print time();' 2>/dev/null || date +%s`
@@ -585,6 +586,7 @@ build_targets()
 	mkdir -p $TARGET/abuild
 	local ABSPATH=`cd $TARGET/abuild; pwd`
 	local XMLFILE=$ABSPATH/__util.xml
+	rm -f ${XMLFILE}
 	local stime=`perl -e 'print time();' 2>/dev/null || date +%s`
 	$BUILDPREFIX $MAKE -j $cpus DOTCONFIG=$TMPCFG obj=$TARGET/temp objutil=$TARGET/sharedutils tools > $TARGET/sharedutils/make.log 2>&1
 	local ret=$?



More information about the coreboot-gerrit mailing list