/[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 1312 by ksteube, Mon Sep 24 06:18:44 2007 UTC revision 1374 by gross, Tue Jan 8 09:37:55 2008 UTC
# Line 195  def runPyUnitTest(target, source, env): Line 195  def runPyUnitTest(target, source, env):
195     if env['useMPI']:     if env['useMPI']:
196       app = env['mpi_run'] +' lib/pythonMPI ' + app       app = env['mpi_run'] +' lib/pythonMPI ' + app
197     else:     else:
198       app = 'python ' + app       app = sys.executable + " " + app
199     print "Executing test: " + app     print "Executing test: " + app
200     if not env.Execute(app):     if env.Execute(app) == 0:
201        open(str(target[0]),'w').write("PASSED\n")        open(str(target[0]),'w').write("PASSED\n")
202     else:     else:
203       return 1       return 1

Legend:
Removed from v.1312  
changed lines
  Added in v.1374

  ViewVC Help
Powered by ViewVC 1.1.26