update makreport to allow specifying directories
authorMatthias Braun <matze@braunis.de>
Tue, 5 Sep 2006 09:07:53 +0000 (09:07 +0000)
committerMatthias Braun <matze@braunis.de>
Tue, 5 Sep 2006 09:07:53 +0000 (09:07 +0000)
ir/be/test/after_compile.sh.example
ir/be/test/makereport.sh

index df62e42..232dae3 100644 (file)
@@ -3,4 +3,4 @@
 # move results over to public_html dir
 rm -rf "$HOME/public_html/$1"
 mv "$1" "$HOME/public_html"
-fs setacl "$HOME/stats-04.08.06" system:anyuser rl
+fs setacl "$HOME/public_html/$1" system:anyuser rl
index 12d9fa8..31e952d 100755 (executable)
@@ -1,5 +1,5 @@
-EDG_BIN="edg"
-EDG_CFLAGS="--c --gnu=30305 -I/usr/lib/gcc-lib/i686-pc-linux-gnu/4.1.1/include"
+EDG_BIN="eccp"
+EDG_CFLAGS="${ADDCFLAGS} -O3"
 GCC_CFLAGS="-O3 -g -fomit-frame-pointer"
 LINKFLAGS="-lm"
 TIMEOUT_COMPILE=300
@@ -27,7 +27,10 @@ __END__
 
 basedir=`pwd`
 
-for dir in . gcc-testsuite gcc-testsuite/ieee; do
+DIRS=". gcc-testsuite gcc-testsuite/ieee"
+test -n "$1" && DIRS="$1"
+
+for dir in $DIRS; do
        curdir=$basedir/$dir
     echo "<section name=\"$curdir/\">" >> $XMLRES
 for file in $curdir/$CFILES; do