/[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 774 by ksteube, Mon Jul 10 02:00:55 2006 UTC revision 1133 by gross, Tue May 8 07:19:33 2007 UTC
# Line 35  def runUnitTest(target, source, env): Line 35  def runUnitTest(target, source, env):
35  def runPyUnitTest(target, source, env):  def runPyUnitTest(target, source, env):
36     time_start = time.time()     time_start = time.time()
37     print "Executing test: " + str(source[0].abspath)     print "Executing test: " + str(source[0].abspath)
38     app = 'python '+str(source[0].abspath)     app = 'python '+'"'+str(source[0].abspath)+'"'
39     if not env.Execute(app):     if not env.Execute(app):
40        open(str(target[0]),'w').write("PASSED\n")        open(str(target[0]),'w').write("PASSED\n")
41     else:     else:

Legend:
Removed from v.774  
changed lines
  Added in v.1133

  ViewVC Help
Powered by ViewVC 1.1.26