From 6b483cce4f50c4defc7f99cef9a74867f58cc62a Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 14 Dec 2015 18:40:47 +0100 Subject: reproducible coreboot: refactor, sort boring reproducible ROMs at the bottom --- bin/reproducible_coreboot.sh | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) (limited to 'bin/reproducible_coreboot.sh') diff --git a/bin/reproducible_coreboot.sh b/bin/reproducible_coreboot.sh index ef1cd130..7c8fe40f 100755 --- a/bin/reproducible_coreboot.sh +++ b/bin/reproducible_coreboot.sh @@ -159,8 +159,9 @@ DIFFOSCOPE="$(schroot --directory /tmp -c source:jenkins-reproducible-${DBDSUITE echo "=============================================================================" echo "$(date -u) - Running $DIFFOSCOPE on coreboot images." echo "=============================================================================" -ROMS_HTML=$(mktemp --tmpdir=$TMPDIR) -echo " " >> $ROMS_HTML +echo " " >> $LIST_OBJECT GOOD_PERCENT=$(echo "scale=1 ; ($GOOD_ROMS*100/$ALL_ROMS)" | bc) BAD_PERCENT=$(echo "scale=1 ; ($BAD_ROMS*100/$ALL_ROMS)" | bc) # are we there yet? @@ -235,7 +240,7 @@ else fi write_page " These tests were last run on $DATE for version ${COREBOOT_VERSION} using ${DIFFOSCOPE}.

" write_explaination_table coreboot -cat $ROMS_HTML >> $PAGE +cat $LIST_OBJECT >> $PAGE write_page "

"
 echo -n "$COREBOOT" >> $PAGE
 write_page "     

" @@ -243,7 +248,7 @@ cat $TOOLCHAIN_HTML >> $PAGE write_page " " write_page_footer coreboot publish_page -rm -f $ROMS_HTML $TOOLCHAIN_HTML +rm -f $LIST_OBJECT $TOOLCHAIN_HTML # the end calculate_build_duration -- cgit v1.2.3-54-g00ecf