summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_coreboot.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-06-06 19:09:07 +0200
committerHolger Levsen <holger@layer-acht.org>2015-06-06 19:16:08 +0200
commitf0a18cab05da1130bf9ac1f634b10cf881fd192a (patch)
tree3953610757d9ab60ebae27eddd6e2a706821e31d /bin/reproducible_coreboot.sh
parent1592fff49e7b73d3b79ea745d5276603f49800e4 (diff)
downloadjenkins.debian.net-f0a18cab05da1130bf9ac1f634b10cf881fd192a.tar.xz
reproducible: more refactoring. add write_explaination_table() to be used for all tested projects.
Diffstat (limited to 'bin/reproducible_coreboot.sh')
-rwxr-xr-xbin/reproducible_coreboot.sh20
1 files changed, 5 insertions, 15 deletions
diff --git a/bin/reproducible_coreboot.sh b/bin/reproducible_coreboot.sh
index 03c6f730..9d2da652 100755
--- a/bin/reproducible_coreboot.sh
+++ b/bin/reproducible_coreboot.sh
@@ -25,18 +25,6 @@ create_results_dirs() {
mkdir -p $BASE/coreboot/dbd
}
-calculate_build_duration() {
- END=$(date +'%s')
- DURATION=$(( $END - $START ))
-}
-
-print_out_duration() {
- local HOUR=$(echo "$DURATION/3600"|bc)
- local MIN=$(echo "($DURATION-$HOUR*3600)/60"|bc)
- local SEC=$(echo "$DURATION-$HOUR*3600-$MIN*60"|bc)
- echo "$(date -u) - total duration: ${HOUR}h ${MIN}m ${SEC}s."
-}
-
call_debbindiff() {
local TMPLOG=(mktemp --tmpdir=$TMPDIR)
echo
@@ -190,9 +178,11 @@ cat > $PAGE <<- EOF
<br />
</blockquote>
EOF
-write_page " <h1>Reproducible Coreboot</h2><p>This is work in progress - only TZ, LANG, LC_CTYPE variable and number of cores variations yet and no fancy html.</p><pre>"
-write_page $COREBOOT
-write_page " </pre><ul>"
+write_page " <h1>Reproducible Coreboot</h1>"
+write_page " <p>This is work in progress started on 2015-06-04.</p>"
+write_page " <pre>$COREBOOT<pre>"
+write_explaination_table coreboot
+write_page " <ul>"
ROMS=0
RROMS=0
create_results_dirs