/[escript]/branches/scons-dev/scons/scons_extensions.py
ViewVC logotype

Diff of /branches/scons-dev/scons/scons_extensions.py

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

revision 1652 by ksteube, Tue Jul 15 00:15:12 2008 UTC revision 1653 by ksteube, Wed Jul 16 00:31:11 2008 UTC
# Line 180  def doSubstitution(target,source,env) : Line 180  def doSubstitution(target,source,env) :
180  def runUnitTest(target, source, env):  def runUnitTest(target, source, env):
181    time_start = time.time()    time_start = time.time()
182    app = str(source[0].abspath)    app = str(source[0].abspath)
183    if env['useMPI']: app = env['mpi_run'] + ' ' + app    if env['usempi']: app = env['mpi_run'] + ' ' + app
184    print "Executing test: " + app    print "Executing test: " + app
185    if not env.Execute(app):    if not env.Execute(app):
186      open(str(target[0]),'w').write("PASSED\n")      open(str(target[0]),'w').write("PASSED\n")
# Line 192  def runUnitTest(target, source, env): Line 192  def runUnitTest(target, source, env):
192  def runPyUnitTest(target, source, env):  def runPyUnitTest(target, source, env):
193     time_start = time.time()     time_start = time.time()
194     app = str(source[0].abspath)     app = str(source[0].abspath)
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 = sys.executable + " " + app       app = sys.executable + " " + app

Legend:
Removed from v.1652  
changed lines
  Added in v.1653

  ViewVC Help
Powered by ViewVC 1.1.26