]> https://gitweb.dealii.org/ - dealii.git/commitdiff
updated bench.sh to output results from 3 tests per revision
authorcazamias <cazamias@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 10 Oct 2012 21:01:40 +0000 (21:01 +0000)
committercazamias <cazamias@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 10 Oct 2012 21:01:40 +0000 (21:01 +0000)
git-svn-id: https://svn.dealii.org/trunk@27060 0785d39b-7218-0410-832d-ea1e28bc413d

tests/benchmarks/bench.sh

index 10b55bb638235179d13d372f47e56c00607598c5..2fe4f85dbac79977e4c4c11c3379024f30d78c1a 100644 (file)
@@ -34,7 +34,11 @@ while [ $PREVREVISION -lt $HEADREVISION ] ; do
       cd $test
       echo "** working on $test"
       make clean >/dev/null
-      make run | grep "|" > temp.txt
+      echo -n "" > temp.txt
+      for a in {1..3}; do
+         echo "*" >> temp.txt
+          make run | grep "|" >> temp.txt
+      done
       ./../gettimes/gettimes > names.test
       if [[ -s names.test ]] ; then
       cp names.test ../names.$test

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.