[SCM] Gerris Flow Solver branch, upstream, updated. b3aa46814a06c9cb2912790b23916ffb44f1f203

Stephane Popinet popinet at users.sf.net
Fri May 15 02:54:21 UTC 2009


The following commit has been merged in the upstream branch:
commit 5c8f69e9efc3d364807b94bcc1d94bce225f594a
Author: Stephane Popinet <popinet at users.sf.net>
Date:   Wed Apr 25 08:21:24 2007 +1000

    More detailed versioning of test cases summary
    
    darcs-hash:20070424222124-d4795-ee9b010a419390faf4590a09f0cfa6aeb8e41e29.gz

diff --git a/test/test.py b/test/test.py
index 99fb622..36706b6 100644
--- a/test/test.py
+++ b/test/test.py
@@ -9,7 +9,7 @@ from datetime import *
 env = "export PYTHONPATH=$PYTHONPATH:" + os.getcwd() + " && export donotrun=false &&"
 system = commands.getoutput('uname -o -n -m')
 path = commands.getoutput('which gerris2D')
-version = commands.getoutput("""gerris2D -V 2>&1 | awk '{if ($5 == "version") print $6;}'""")
+version = commands.getoutput("""gerris2D -V 2>&1 | head -1 | cut -d' ' -f6-""")
 starttime = datetime.now()
 
 n = 0

-- 
Gerris Flow Solver



More information about the debian-science-commits mailing list