From 5ab5a39d2ed0ea28347218ad5e129a7c8244012c Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Sat, 31 Oct 2015 08:53:30 +0100 Subject: 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 Reviewed-on: http://review.coreboot.org/12280 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- util/abuild/abuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util/abuild/abuild b/util/abuild/abuild index daf53c663e..51011a1d52 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=$? -- cgit v1.2.3