Admin/isatest/isatest-stats
author wenzelm
Thu, 30 Aug 2007 17:09:02 +0200
changeset 24489 d4967d2188d6
parent 24317 fef33067272b
child 24831 887d1b32a1a5
permissions -rwxr-xr-x
added some more entries;

#!/usr/bin/env bash
#
# $Id$
# Author: Makarius
#
# DESCRIPTION: Standard statistics.

THIS=$(cd "$(dirname "$0")"; pwd -P)

PLATFORMS="at-poly at-sml-dev at-mac-poly-e at64-poly-e at-poly-5.1-para-e at64-poly-5.1-para-e at-mac-poly-5.1-para-e"
SESSIONS="\
  HOL \
  HOL-Algebra \
  HOL-Auth \
  HOL-Bali \
  HOL-Complex \
  HOL-Complex-ex \
  HOL-Extraction \
  HOL-Hoare \
  HOL-HoareParallel \
  HOL-Lambda \
  HOL-MetisExamples \
  HOL-MicroJava \
  HOL-Nominal-Examples \
  HOL-NumberTheory \
  HOL-SET-Protocol \
  HOL-UNITY \
  HOL-ex \
  ZF \
  ZF-Constructible\
  ZF-UNITY"

for PLATFORM in $PLATFORMS
do
  "$THIS/isatest-statistics" "stats/$PLATFORM" "$PLATFORM" ${1:-100} $SESSIONS
  cat > "stats/$PLATFORM.html" <<EOF
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head><title>Development Snapshot -- Performance Statistics</title></head>

<body>
<h1>$PLATFORM</h1>
EOF

for SESSION in $SESSIONS
do
  echo "<br><img src="$PLATFORM/$SESSION.png"><br>" >> "stats/$PLATFORM.html"
done

echo "</body>" >> "stats/$PLATFORM.html"
echo "</html>" >> "stats/$PLATFORM.html"

done