~fluidity-core/fluidity/excise-fldecomp

« back to all changes in this revision

Viewing changes to tests/hyperc-shear-moving-mesh/hyperc-shear-moving-mesh.xml

  • Committer: Mark Filipiak
  • Date: 2012-08-13 11:42:30 UTC
  • mfrom: (4003.1.23 dev-trunk)
  • Revision ID: mjf@staffmail.ed.ac.uk-20120813114230-wzoyf2gi4p4oxeh4
Merge in of the latest trunk.  To try to cure non-flredecomp tests that are passing at EPCC but failing in buildbot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
    <command_line>fluidity -v2 -l  hyperc-shear-input.flml</command_line>
8
8
  </problem_definition>
9
9
  <variables>
 
10
    <variable name="solvers_converged" language="python">
 
11
import os
 
12
files = os.listdir("./")
 
13
solvers_converged = not "matrixdump" in files and not "matrixdump.info" in files
 
14
    </variable>
10
15
    <variable name="finish_time" language="python"> 
11
16
from fluidity_tools import stat_parser as stat
12
17
finish_time = stat("hyperc-shear.stat")["ElapsedTime"]["value"][-1]
61
66
    </variable>
62
67
  </variables>
63
68
  <pass_tests>
 
69
    <test name="Solvers converged" language="python">
 
70
      assert(solvers_converged)
 
71
    </test>
64
72
    <test name="check finish time reached" language="python">
65
73
assert finish_time &gt; 1.
66
74
    </test>