diff options
Diffstat (limited to 'test/Repository/SConscript.py')
-rw-r--r-- | test/Repository/SConscript.py | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/test/Repository/SConscript.py b/test/Repository/SConscript.py index 1482800..709f1ca 100644 --- a/test/Repository/SConscript.py +++ b/test/Repository/SConscript.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,25 +22,16 @@ # 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__" """ Test how we handle SConscript calls when using a Repository. """ import sys -import TestSCons - -if sys.platform == 'win32': - _exe = '.exe' -else: - _exe = '' +from TestSCons import TestSCons, _exe -test = TestSCons.TestSCons() +test = TestSCons() -# test.subdir('work', ['work', 'src'], 'rep1', @@ -48,11 +41,9 @@ test.subdir('work', ['rep2', 'src'], ['rep2', 'src', 'sub']) -# workpath_rep1 = test.workpath('rep1') workpath_rep2 = test.workpath('rep2') -# test.write(['work', 'SConstruct'], """ Repository(r'%s') SConscript('src/SConscript') |