From: heister Date: Wed, 13 Feb 2013 21:12:29 +0000 (+0000) Subject: improve benchmark scripts X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee2226d851426f78ce5dc1821be026ea3d9e4b65;p=dealii-svn.git improve benchmark scripts git-svn-id: https://svn.dealii.org/trunk@28393 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/benchmarks/doplots.sh b/tests/benchmarks/doplots.sh new file mode 100755 index 0000000000..3ba8c1b1bf --- /dev/null +++ b/tests/benchmarks/doplots.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +source testlist.sh + +for test in $TESTS ; do + LASTREV=`tail -n 1 datatable.$test | cut -f 1 -d ' '` + ./plot.sh $test $LASTREV >script + gnuplot script + rm -rf script + convert -density 150 $test.eps $test.png +done diff --git a/tests/benchmarks/run.sh b/tests/benchmarks/run.sh index 1273de6a94..939c670f54 100755 --- a/tests/benchmarks/run.sh +++ b/tests/benchmarks/run.sh @@ -5,15 +5,7 @@ while : do ./bench.sh - source testlist.sh - - for test in $TESTS ; do - LASTREV=`tail -n 1 datatable.$test | cut -f 1 -d ' '` - ./plot.sh $test $LASTREV >script - gnuplot script - rm -rf script - convert -density 150 $test.eps $test.png - done + ./doplots.sh ./sync.sh