/[escript]/branches/RW_WIN32/escript/test/python/SConscript
ViewVC logotype

Diff of /branches/RW_WIN32/escript/test/python/SConscript

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

revision 304 by robwdcock, Mon Nov 28 06:09:41 2005 UTC revision 305 by robwdcock, Sat Dec 3 05:05:25 2005 UTC
# Line 8  import os Line 8  import os
8  filenames = os.listdir(src_dir)  filenames = os.listdir(src_dir)
9  python_src = [x for x in filenames if os.path.splitext(x)[1] in ['.py']]  python_src = [x for x in filenames if os.path.splitext(x)[1] in ['.py']]
10    
 local_env.RunPyUnitTest(python_src)  
11    local_env.RunPyUnitTest(python_src)
12    
13    #Add Unit Test to target alias
14    test_targets = [os.path.splitext(x)[0]+'.passed' for x in python_src]
15    
16    env.Alias('py_test',test_targets)
17    env.Alias('escript_test', test_targets)

Legend:
Removed from v.304  
changed lines
  Added in v.305

  ViewVC Help
Powered by ViewVC 1.1.26