/[escript]/trunk/weipa/test/python/run_savesilo_tests.py
ViewVC logotype

Diff of /trunk/weipa/test/python/run_savesilo_tests.py

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

revision 6798 by aellery, Fri Nov 16 02:02:41 2018 UTC revision 6799 by aellery, Mon Mar 25 05:53:58 2019 UTC
# Line 254  class SiloSaver(unittest.TestCase): #req Line 254  class SiloSaver(unittest.TestCase): #req
254      def cleanup(self, filename):      def cleanup(self, filename):
255          os.remove(filename)          os.remove(filename)
256    
257    @unittest.skipIf(HAVE_SILO is False, "Silo module not available")
258  class Test_Silo_import(unittest.TestCase):  class Test_Silo_import(unittest.TestCase):
259      def test_import(self):      def test_import(self):
260          if not HAVE_SILO:          if not HAVE_SILO:
# Line 264  class Test_Silo_import(unittest.TestCase Line 265  class Test_Silo_import(unittest.TestCase
265                      raise unittest.SkipTest("Silo module broken")                      raise unittest.SkipTest("Silo module broken")
266    
267  @unittest.skipIf(getMPISizeWorld()>1, "MPI size > 1")  @unittest.skipIf(getMPISizeWorld()>1, "MPI size > 1")
268  @unittest.skipIf(not HAVE_FINLEY, "finley module not available")  @unittest.skipIf(HAVE_FINLEY is False, "finley module not available")
269  @unittest.skipIf(not HAVE_SILO, "Silo module not available")  @unittest.skipIf(HAVE_SILO is False, "Silo module not available")
270  class Test_Finley_SaveSilo(SiloSaver):  class Test_Finley_SaveSilo(SiloSaver):
271    
272    # === Finley hex 2D order 1 with contacts ===================================    # === Finley hex 2D order 1 with contacts ===================================
# Line 1331  class Test_Finley_SaveSilo(SiloSaver): Line 1332  class Test_Finley_SaveSilo(SiloSaver):
1332                                                 data_t=x[0]*[[11.,12.,13.],[21.,22.,23.],[31.,32.,33.]])                                                 data_t=x[0]*[[11.,12.,13.],[21.,22.,23.],[31.,32.,33.]])
1333    
1334  @unittest.skipIf(getMPISizeWorld()>1, "MPI size > 1")  @unittest.skipIf(getMPISizeWorld()>1, "MPI size > 1")
1335  @unittest.skipIf(not HAVE_DUDLEY, "dudley module not available")  @unittest.skipIf(HAVE_DUDLEY is False, "dudley module not available")
1336  @unittest.skipIf(not HAVE_SILO, "Silo module not available")  @unittest.skipIf(HAVE_SILO is False, "Silo module not available")
1337  class Test_Dudley_SaveSilo(SiloSaver):  class Test_Dudley_SaveSilo(SiloSaver):
1338    
1339    # === Dudley 2D =============================================================    # === Dudley 2D =============================================================
# Line 1424  class Test_Dudley_SaveSilo(SiloSaver): Line 1425  class Test_Dudley_SaveSilo(SiloSaver):
1425                                             data_t=x[0]*[[11.,12.,13.],[21.,22.,23.],[31.,32.,33.]])                                             data_t=x[0]*[[11.,12.,13.],[21.,22.,23.],[31.,32.,33.]])
1426    
1427  @unittest.skipIf(getMPISizeWorld()>1, "MPI size > 1")  @unittest.skipIf(getMPISizeWorld()>1, "MPI size > 1")
1428  @unittest.skipIf(not HAVE_RIPLEY, "ripley module not available")  @unittest.skipIf(HAVE_RIPLEY is False, "ripley module not available")
1429  @unittest.skipIf(not HAVE_SILO, "Silo module not available")  @unittest.skipIf(HAVE_SILO is False, "Silo module not available")
1430  class Test_Ripley_SaveSilo(SiloSaver):  class Test_Ripley_SaveSilo(SiloSaver):
1431    
1432    # === Ripley 2D =============================================================    # === Ripley 2D =============================================================

Legend:
Removed from v.6798  
changed lines
  Added in v.6799

  ViewVC Help
Powered by ViewVC 1.1.26