Patrick Georgi (patrick(a)georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5488
-gerrit
commit 8f7ba5d368bc52eb03e5278f38ab4ae975949dd2
Author: Patrick Georgi <patrick(a)georgi-clan.de>
Date: Fri Apr 11 21:20:18 2014 +0200
abuild: enable "experimental" mode
With this change, broken boards are accepted as success by abuild
unless they're marked "Experimental: yes" in board_status.txt.
This way we build all boards, but don't have to take care of
everything at once (and typically without the means to test them).
Much better than dropping boards left and right, and re-importing
them later-on, losing history.
Change-Id: I1e94721df60c9501e1df062f589a4b0c10afa5e3
Signed-off-by: Patrick Georgi <patrick(a)georgi-clan.de>
---
util/abuild/abuild | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/util/abuild/abuild b/util/abuild/abuild
index ec5c27b..b5182fb 100755
--- a/util/abuild/abuild
+++ b/util/abuild/abuild
@@ -236,6 +236,10 @@ function compile_target
VENDOR=$1
MAINBOARD=$2
+ # allow boards to fail (we keep the log but report success) unless Experimental is marked yes
+ failure_tolerant=0
+ grep -q "^Experimental: yes$" src/mainboard/${VENDOR}/${MAINBOARD}/board_info.txt || failure_tolerant=1
+
printf " Compiling image $cpuconfig .. "
CURR=$( pwd )
@@ -251,7 +255,7 @@ function compile_target
duration=$(( $etime - $stime ))
junit " <testcase classname='board' name='$TARCH/$VENDOR/$MAINBOARD' time='$duration' >"
- if [ $ret -eq 0 ]; then
+ if [ $ret -eq 0 -o $failure_tolerant -eq 1 ]; then
junit "<system-out>"
junitfile make.log
junit "</system-out>"