diff options
Diffstat (limited to 'test/sconsign/script/Configure.py')
-rw-r--r-- | test/sconsign/script/Configure.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/test/sconsign/script/Configure.py b/test/sconsign/script/Configure.py index 7597634..2e1e9c1 100644 --- a/test/sconsign/script/Configure.py +++ b/test/sconsign/script/Configure.py @@ -1,6 +1,8 @@ #!/usr/bin/env python # -# __COPYRIGHT__ +# MIT License +# +# Copyright The SCons Foundation # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the @@ -20,9 +22,6 @@ # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -# - -__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" """ Verify that we can print .sconsign files with Configure context @@ -58,6 +57,9 @@ CC_file = re.escape(CC_file) test.write('SConstruct', """ import os + +DefaultEnvironment(tools=[]) + env = Environment(ENV={'PATH' : os.environ.get('PATH','')}) conf = Configure(env) r1 = conf.CheckCHeader( 'math.h' ) |