/[escript]/trunk/finley/test/SConstruct
ViewVC logotype

Diff of /trunk/finley/test/SConstruct

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

revision 424 by jgs, Fri Dec 2 01:55:04 2005 UTC revision 425 by gross, Tue Jan 10 04:10:39 2006 UTC
# Line 1  Line 1 
1  # top-level Scons configuration file for all finley unit tests  # top-level Scons configuration file for all finley unit tests
2    esysroot=str(Dir('./../../').abspath)
3  import os  execfile(str(File(esysroot+"/scons/esys_options.py")))
   
 #  
 # ensure correct versions of python and scons  
   
 EnsurePythonVersion(2,3)  
 EnsureSConsVersion(0,96)  
   
 #  
 # retreive command-line arguments if any  
 # these are passed through to SConscripts  
   
 if ARGUMENTS.get('usegcc',0):  
   usegcc = 1  
 else:  
   usegcc = 0  
 Export(["usegcc"])  
   
 if ARGUMENTS.get('options',0):  
   options = ARGUMENTS.get('options',0)  
 else:  
   options = None  
 Export(["options"])  
   
 #  
 # set and export esysroot  
   
 esysroot = Dir('#../..')  
 Export(["esysroot"])  
4    
5  #  #
6  # call appropriate SConscripts  # call appropriate SConscripts

Legend:
Removed from v.424  
changed lines
  Added in v.425

  ViewVC Help
Powered by ViewVC 1.1.26