/[escript]/branches/RW_WIN32/scons_ext.py
ViewVC logotype

Diff of /branches/RW_WIN32/scons_ext.py

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

revision 229 by robwdcock, Fri Nov 25 06:17:13 2005 UTC revision 230 by robwdcock, Fri Nov 25 06:51:36 2005 UTC
# Line 12  def runUnitTest(target, source, env): Line 12  def runUnitTest(target, source, env):
12        open(str(target[0]),'w').write("PASSED\n")        open(str(target[0]),'w').write("PASSED\n")
13     return None     return None
14    
15    def runPyUnitTest(target, source, env):
16       import os
17       app = 'python '+str(source[0].abspath)
18       if not os.system(app):
19          open(str(target[0]),'w').write("PASSED\n")
20       return None
21    
22    
23  #import fnmatch  #import fnmatch
24  #import os  #import os
25    

Legend:
Removed from v.229  
changed lines
  Added in v.230

  ViewVC Help
Powered by ViewVC 1.1.26