You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
540 B
Bash
28 lines
540 B
Bash
#!/bin/bash
|
|
|
|
ROOT=${ROOT:-.}
|
|
TOOLROOT=${TOOLROOT:-${ROOT}}
|
|
HTMLDIR=${TOOLROOT}/tools/testsuite/html
|
|
|
|
test -f ~/.buildbot && . ~/.buildbot
|
|
|
|
OUTFILE=${HTMLFILE:-${HOME}/firekernel.html}
|
|
LOGDIR=${BUILDLOGS:-${HOME}/buildlogs}
|
|
|
|
{
|
|
cat ${HTMLDIR}/header
|
|
|
|
for i in `ls -t $LOGDIR/*.log`; do
|
|
${TOOLROOT}/tools/testsuite/parse_buildlog.sh $i
|
|
if [ "x${HTTPROOT}x"!="xx" ]; then
|
|
echo "<br>"
|
|
echo "Full build log: <a href=\"${HTTPROOT}/`basename ${i}`\"> click here </a>."
|
|
fi
|
|
|
|
done
|
|
|
|
cat ${HTMLDIR}/footer
|
|
} > ${OUTFILE}
|
|
|
|
|