/[escript]/trunk/pyvisi/test/python/SConscript
ViewVC logotype

Diff of /trunk/pyvisi/test/python/SConscript

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

revision 3166 by gross, Tue Mar 16 01:32:43 2010 UTC revision 3167 by caltinay, Wed Sep 8 03:24:29 2010 UTC
# Line 74  test_pyc = env.PyCompile(testfiles) Line 74  test_pyc = env.PyCompile(testfiles)
74  env.Alias('build_py_tests', test_pyc)  env.Alias('build_py_tests', test_pyc)
75    
76  #  #
77  # run all tests:  # only run tests if VTK is enabled:
78  #  #
79  try:  if env['usevtk']:
80     import vtk      VTK_AVAILABLE = True
81     VTK_AVAILABLE = True  else:
82  except ImportError:      VTK_AVAILABLE = False
83        VTK_AVAILABLE =False      print "Warning: VTK disabled, skipping pyvisi tests."
       print "Warning: cannot import vtk. pyvisi tests are skipped."  
84                
85    
86  #Add Unit Test to target alias  #Add Unit Test to target alias

Legend:
Removed from v.3166  
changed lines
  Added in v.3167

  ViewVC Help
Powered by ViewVC 1.1.26