[coreboot] [commit] r6615 - trunk/util/abuild
repository service
svn at coreboot.org
Wed Jun 1 21:29:48 CEST 2011
Author: oxygene
Date: Wed Jun 1 21:29:48 2011
New Revision: 6615
URL: https://tracker.coreboot.org/trac/coreboot/changeset/6615
Log:
Report build result from abuild (did all requested boards build?)
Signed-off-by: Patrick Georgi <patrick at georgi-clan.de>
Acked-by: Patrick Georgi <patrick at georgi-clan.de>
Modified:
trunk/util/abuild/abuild
Modified: trunk/util/abuild/abuild
==============================================================================
--- trunk/util/abuild/abuild Wed Jun 1 04:00:30 2011 (r6614)
+++ trunk/util/abuild/abuild Wed Jun 1 21:29:48 2011 (r6615)
@@ -35,6 +35,9 @@
# Configure-only mode
configureonly=0
+# Did any board fail to build?
+failed=0
+
# One might want to adjust these in case of cross compiling
for i in make gmake gnumake nonexistant_make; do
$i --version 2>/dev/null |grep "GNU Make" >/dev/null && break
@@ -294,6 +297,7 @@
printf "FAILED after ${duration}s!\nLog excerpt:\n"
tail -n $CONTEXT make.log 2> /dev/null || tail -$CONTEXT make.log
cd $CURR
+ failed=1
return 1
fi
}
@@ -622,3 +626,4 @@
fi
xml '</abuild>'
+exit $failed
More information about the coreboot
mailing list