diff options
Diffstat (limited to 'test/Repository/Program.py')
-rw-r--r-- | test/Repository/Program.py | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/test/Repository/Program.py b/test/Repository/Program.py index 3946d95..1b06a5d 100644 --- a/test/Repository/Program.py +++ b/test/Repository/Program.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,21 +22,13 @@ # 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__" import sys -import TestSCons - -if sys.platform == 'win32': - _exe = '.exe' -else: - _exe = '' +from TestSCons import TestSCons, _exe for implicit_deps in ['0', '1', '2', '\"all\"']: # First, test a single repository. - test = TestSCons.TestSCons() + test = TestSCons() test.subdir('repository', 'work1') repository = test.workpath('repository') repository_foo_c = test.workpath('repository', 'foo.c') |