diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-12-12 03:17:56 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-12-12 03:17:56 +0100 |
commit | a150aba675db129cd58d0a04a575036887a6d1a4 (patch) | |
tree | 95fd6eccf26658305566c6dbd8b5d8025f26aba2 | |
parent | 7e3a816e7565ff6b3bec26a8f7bfe96b1497fce8 (diff) | |
download | jenkins.debian.net-a150aba675db129cd58d0a04a575036887a6d1a4.tar.xz |
reproducible coreboot: correctly detect roms which fail to build (twice)
-rwxr-xr-x | bin/reproducible_coreboot.sh | 8 |
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 |