--- trunk/finley/test/SConstruct 2005/12/02 01:55:04 288 +++ trunk/finley/test/SConstruct 2006/01/10 04:10:39 425 @@ -1,34 +1,6 @@ # top-level Scons configuration file for all finley unit tests - -import os - -# -# 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"]) +esysroot=str(Dir('./../../').abspath) +execfile(str(File(esysroot+"/scons/esys_options.py"))) # # call appropriate SConscripts