/[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 5021 by sshaw, Tue Jun 10 02:16:18 2014 UTC revision 5022 by sshaw, Tue Jun 10 05:02:47 2014 UTC
# Line 168  def runPyUnitTest(target, source, env): Line 168  def runPyUnitTest(target, source, env):
168         else:         else:
169             app = "cd "+ pn +" & "+sys.executable + " " + sn             app = "cd "+ pn +" & "+sys.executable + " " + sn
170     else:     else:
171             skipfile = os.path.join(env['build_dir'], sn[:-3]) + ".skipped"
172         try:
173             os.unlink(skipfile)
174         except Exception as e:
175            pass
176       app = "cd "+pn+"; "+binpath(env, "run-escript")+" -ov "+binpath(env,       app = "cd "+pn+"; "+binpath(env, "run-escript")+" -ov "+binpath(env,
177              "../tools/testrunner.py")+" -outputfile="+os.path.join(env['build_dir'],              "../tools/testrunner.py")+" -outputfile="+skipfile+" "+sn
             sn[:-3])+".skipped "+sn  
178     print "Executing test: ",app     print "Executing test: ",app
179     if env.Execute(app) == 0:     if env.Execute(app) == 0:
180        open(str(target[0]),'w').write("PASSED\n")        open(str(target[0]),'w').write("PASSED\n")

Legend:
Removed from v.5021  
changed lines
  Added in v.5022

  ViewVC Help
Powered by ViewVC 1.1.26