/[escript]/branches/doubleplusgood/doc/SConscript
ViewVC logotype

Diff of /branches/doubleplusgood/doc/SConscript

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

revision 4344 by jfenwick, Wed Feb 27 03:42:40 2013 UTC revision 4345 by jfenwick, Fri Mar 29 07:09:41 2013 UTC
# Line 46  else: Line 46  else:
46      p.wait()      p.wait()
47    
48  if not haveMPL:  if not haveMPL:
49      print("matplotlib not found, skipping some tests")      env['warnings'].append("matplotlib not found, will skip some unit tests")
50  else:  else:
51      if mplversion<mplmagicversion:      if mplversion<mplmagicversion:
52          print("matplotlib found, but version too early. Some tests skipped.")          env['warnings'].append("matplotlib found, but version too early. Some unit tests will be skipped.")
53    
54  example_files_allow_mpi = []  example_files_allow_mpi = []
55  example_files_no_mpi = []  example_files_no_mpi = []
# Line 131  sortOutExample('cookbook/example10m.py', Line 131  sortOutExample('cookbook/example10m.py',
131  sortOutExample('cookbook/example11a.py', needsMagicMPL=True, allowsMPI=False)  sortOutExample('cookbook/example11a.py', needsMagicMPL=True, allowsMPI=False)
132  sortOutExample('cookbook/example11b.py', needsMagicMPL=True, allowsMPI=False)  sortOutExample('cookbook/example11b.py', needsMagicMPL=True, allowsMPI=False)
133    
134    sortOutExample('inversion/create_netcdf.py')
135    sortOutExample('inversion/grav_ermapper.py')
136    sortOutExample('inversion/grav_netcdf.py')
137    sortOutExample('inversion/gravmag_netcdf.py')
138    sortOutExample('inversion/gravmag_nodriver.py')
139    sortOutExample('inversion/mag_netcdf.py')
140    sortOutExample('inversion/plot_ermapper.py', needsMPL=True, allowsMPI=False)
141    sortOutExample('inversion/plot_netcdf.py', needsMPL=True, allowsMPI=False)
142    example_deps.append('inversion/content.txt')
143    example_deps.append('inversion/data/GravitySmall')
144    example_deps.append('inversion/data/MagneticSmall')
145    example_deps.append('inversion/data/QLDWestGravity')
146    example_deps.append('inversion/data/QLDWestMagnetic')
147    example_deps.append('inversion/data/GravitySmall.ers')
148    example_deps.append('inversion/data/MagneticSmall.ers')
149    example_deps.append('inversion/data/QLDWestGravity.ers')
150    example_deps.append('inversion/data/QLDWestMagnetic.ers')
151    example_deps.append('inversion/data/GravitySmall.nc')
152    example_deps.append('inversion/data/MagneticSmall.nc')
153    example_deps.append('inversion/data/QLDWestGravity.nc')
154    example_deps.append('inversion/data/QLDWestMagnetic.nc')
155    
156    
157  if len(skipped_tests)>0:  if len(skipped_tests)>0:
158      print("gmsh not available. Skipping tests %s!"%' '.join(skipped_tests))      env['warnings'].append("gmsh not available. Skipping tests %s!"%' '.join(skipped_tests))
159    
160  example_files = example_files_allow_mpi + example_files_no_mpi + example_deps  example_files = example_files_allow_mpi + example_files_no_mpi + example_deps
161    

Legend:
Removed from v.4344  
changed lines
  Added in v.4345

  ViewVC Help
Powered by ViewVC 1.1.26