]> https://gitweb.dealii.org/ - dealii.git/commitdiff
performance benchmark: clean the tests and write to different output files
authorTimo Heister <timo.heister@gmail.com>
Wed, 19 Sep 2012 22:08:19 +0000 (22:08 +0000)
committerTimo Heister <timo.heister@gmail.com>
Wed, 19 Sep 2012 22:08:19 +0000 (22:08 +0000)
git-svn-id: https://svn.dealii.org/trunk@26529 0785d39b-7218-0410-832d-ea1e28bc413d

tests/benchmarks/bench.sh

index b9ce3d23db58647d57ba6567b8a3f7eae0e59b1c..7a5d3af1c4d287c2a0ea3d5a58ebf160df47e335 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-TESTS=step-22
+TESTS=step-22 tablehandler
 
 PREVREVISION="`svn info deal.II | grep Revision | sed s/Revision://`"
 HEADREVISION="`svn info http://www.dealii.org/svn/dealii | grep Revision | sed s/Revision://`"
@@ -32,9 +32,9 @@ while [ $PREVREVISION -lt $HEADREVISION ] ; do
   for test in $TESTS ; do
       cd $test
       echo "** working on $test"
-
+      make clean
       make run | grep "|" > temp.txt
-      ./your_code >>datatable
+      ./your_code $NEXTREVISION >>datatable.$test
       # collect info
       cd ..      
   

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.