summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-12-12 03:17:56 +0100
committerHolger Levsen <holger@layer-acht.org>2015-12-12 03:17:56 +0100
commita150aba675db129cd58d0a04a575036887a6d1a4 (patch)
tree95fd6eccf26658305566c6dbd8b5d8025f26aba2 /bin
parent7e3a816e7565ff6b3bec26a8f7bfe96b1497fce8 (diff)
downloadjenkins.debian.net-a150aba675db129cd58d0a04a575036887a6d1a4.tar.xz
reproducible coreboot: correctly detect roms which fail to build (twice)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_coreboot.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/bin/reproducible_coreboot.sh b/bin/reproducible_coreboot.sh
index a7539618..562b4132 100755
--- a/bin/reproducible_coreboot.sh
+++ b/bin/reproducible_coreboot.sh
@@ -169,7 +169,7 @@ create_results_dirs
cd $TMPDIR/b1
for i in $(ls -1d *| sort -u) ; do
let ALL_ROMS+=1
- if [ -f $i/coreboot.rom ] ; then
+ if [ -f $i/coreboot.rom ] && [ -f $TMPDIR/b2/$i/coreboot.rom ] ; then
call_diffoscope $i coreboot.rom
get_filesize $i/coreboot.rom
if [ -f $TMPDIR/$i/coreboot.rom.html ] ; then
@@ -182,7 +182,11 @@ for i in $(ls -1d *| sort -u) ; do
rm -f $BASE/coreboot/dbd/$i.html # cleanup from previous (unreproducible) tests - if needed
fi
else
- echo " <li><img src=\"/userContent/static/weather-storm.png\" alt=\"FTBFS icon\" /> $i <a href=\"${BUILD_URL}console\">failed to build</a> from source.</li>" >> $ROMS_HTML
+ if [ ! -f $i/coreboot.rom ] ; then
+ echo " <li><img src=\"/userContent/static/weather-storm.png\" alt=\"FTBFS icon\" /> $i <a href=\"${BUILD_URL}console\">failed to build</a> from source.</li>" >> $ROMS_HTML
+ else
+ echo " <li><img src=\"/userContent/static/weather-storm.png\" alt=\"FTBFS icon\" /> $i <a href=\"${BUILD_URL}console\">failed to build</a> from source on the 2nd build.</li>" >> $ROMS_HTML
+ fi
let BAD_ROMS+=1
fi
done