/[escript]/trunk/downunder/test/python/run_seismic.py
ViewVC logotype

Diff of /trunk/downunder/test/python/run_seismic.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4983 by jfenwick, Wed May 14 01:13:23 2014 UTC revision 4984 by sshaw, Mon Jun 2 02:50:34 2014 UTC
# Line 23  __url__="https://launchpad.net/escript-f Line 23  __url__="https://launchpad.net/escript-f
23    
24  import logging  import logging
25  import esys.escriptcore.utestselect as unittest  import esys.escriptcore.utestselect as unittest
26    from esys.escriptcore.testing import *
27  import numpy as np  import numpy as np
28  import os  import os
29  import sys  import sys
# Line 127  class TestSeismicTools(unittest.TestCase Line 128  class TestSeismicTools(unittest.TestCase
128              domain=domType(5,5,5, diracPoints=[(0.5,0.5,1.)], diracTags=['sss'])              domain=domType(5,5,5, diracPoints=[(0.5,0.5,1.)], diracTags=['sss'])
129              self.sonicRunner(domain, "%s.Brick"%impl)              self.sonicRunner(domain, "%s.Brick"%impl)
130                                                                        
131  if __name__ == "__main__":  if __name__ == '__main__':
132      suite = unittest.TestSuite()      run_tests(__name__, exit_on_failure=True)
     suite.addTest(unittest.makeSuite(TestSeismicTools))  
     s=unittest.TextTestRunner(verbosity=2).run(suite)  
     if not s.wasSuccessful(): sys.exit(1)  
133            

Legend:
Removed from v.4983  
changed lines
  Added in v.4984

  ViewVC Help
Powered by ViewVC 1.1.26