#!/bin/bash
-source testlist.sh
-
PREVREVISION="`svn info deal.II | grep Revision | sed s/Revision://`"
HEADREVISION="`svn info https://svn.dealii.org/trunk/deal.II | grep Revision | sed s/Revision://`"
-MAKECMD="nice make -j10"
-export MAKECMD
echo "previous $PREVREVISION"
echo "HEAD: $HEADREVISION"
continue ;
fi
+ cd ..
PREVREVISION=$NEXTREVISION
-
- echo "configure"
- ./configure --disable-threads --with-petsc=no || exit 2
- echo "compiling"
- $MAKECMD optimized || exit 3
-
- cd ..
-
- for test in $TESTS ; do
- cd $test
- echo "** working on $test"
- make clean >/dev/null
- echo -n "" > temp.txt
- for a in {1..5}; do
- echo "*" >> temp.txt
- make run | grep "|" >> temp.txt
- done
- ./../gettimes/gettimes > names.test
- if [[ -s names.test ]] ; then
- words=`wc -w names.test | cut -f1 -d' '`
- if [ "$words" -gt "0" ] ; then
- cp names.test ../names.$test
- fi ;
- rm -rf names.test
- fi ;
- ./../gettimes/gettimes $NEXTREVISION >>../datatable.$test
- cd ..
-
- done
+ . benchrev.sh
done
--- /dev/null
+#!/bin/bash
+
+source testlist.sh
+
+PREVREVISION="`svn info deal.II | grep Revision | sed s/Revision://`"
+MAKECMD="nice make -j10"
+export MAKECMD
+
+echo "testing $PREVREVISION"
+
+cd deal.II
+ echo "configure"
+ ./configure --disable-threads --with-petsc=no || exit 2
+ echo "compiling"
+ $MAKECMD optimized || exit 3
+
+ cd ..
+
+ for test in $TESTS ; do
+ cd $test
+ echo "** working on $test"
+ make clean >/dev/null
+ echo -n "" > temp.txt
+ for a in {1..5}; do
+ echo "*" >> temp.txt
+ make run | grep "|" >> temp.txt
+ done
+ ./../gettimes/gettimes > names.test
+ if [[ -s names.test ]] ; then
+ words=`wc -w names.test | cut -f1 -d' '`
+ if [ "$words" -gt "0" ] ; then
+ cp names.test ../names.$test
+ fi ;
+ rm -rf names.test
+ fi ;
+ ./../gettimes/gettimes $NEXTREVISION >>../datatable.$test
+ cd ..
+
+ done