/[escript]/trunk/site_scons/site_init.py
ViewVC logotype

Diff of /trunk/site_scons/site_init.py

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

revision 297 by jgs, Fri Dec 2 04:57:48 2005 UTC revision 359 by jgs, Thu Dec 15 01:08:03 2005 UTC
# Line 14  def runUnitTest(target, source, env): Line 14  def runUnitTest(target, source, env):
14    app = str(source[0].abspath)    app = str(source[0].abspath)
15    if not os.system(app):    if not os.system(app):
16      open(str(target[0]),'w').write("PASSED\n")      open(str(target[0]),'w').write("PASSED\n")
17      else:
18        open(str(target[0]),'w').write("FAILED\n")
19        return 1
20    return None    return None

Legend:
Removed from v.297  
changed lines
  Added in v.359

  ViewVC Help
Powered by ViewVC 1.1.26