/[escript]/trunk/ripley/test/python/run_readWriteOnMultiRes.py
ViewVC logotype

Diff of /trunk/ripley/test/python/run_readWriteOnMultiRes.py

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

revision 6140 by jfenwick, Thu Mar 31 09:40:10 2016 UTC revision 6141 by caltinay, Wed Apr 6 03:51:30 2016 UTC
# Line 35  try: Line 35  try:
35  except KeyError:  except KeyError:
36       RIPLEY_WORKDIR='/tmp'       RIPLEY_WORKDIR='/tmp'
37    
38    HAVE_UNZIP = getEscriptParamInt('HAVE_UNZIP')
39    
40  mpiSize = getMPISizeWorld()  mpiSize = getMPISizeWorld()
41  mpiRank = getMPIRankWorld()  mpiRank = getMPIRankWorld()
# Line 377  class Test_readBinaryGridZippedRipley(un Line 378  class Test_readBinaryGridZippedRipley(un
378              return readBinaryGrid(filename, FS, (), 50000,              return readBinaryGrid(filename, FS, (), 50000,
379                  self.byteorder, self.datatype, first, expected, scale, reverse)                  self.byteorder, self.datatype, first, expected, scale, reverse)
380    
381          if not hasattr(ripleycpp, "_readBinaryGridFromZipped"):          if not HAVE_UNZIP:
382              raise unittest.SkipTest("unzip library not available (boost_iostreams)")              raise unittest.SkipTest("unzip library not available (boost_iostreams)")
383          return ripleycpp._readBinaryGridFromZipped(filename, FS, (), 50000,          return ripleycpp._readBinaryGridFromZipped(filename, FS, (), 50000,
384                  self.byteorder, self.datatype, first, expected, scale, reverse)                  self.byteorder, self.datatype, first, expected, scale, reverse)

Legend:
Removed from v.6140  
changed lines
  Added in v.6141

  ViewVC Help
Powered by ViewVC 1.1.26