diff options
author | Mats Wichmann <mats@linux.com> | 2019-12-28 18:42:21 (GMT) |
---|---|---|
committer | Mats Wichmann <mats@linux.com> | 2019-12-29 13:01:44 (GMT) |
commit | 1f143a5d3520c09b8b55ce5f510d4924c4ea6da1 (patch) | |
tree | b0a0cfba9f8503b78c943ab0b91b721f8679de36 /test/option--W.py | |
parent | 37a9d36e9939bccd165885333a7c7b2870e85565 (diff) | |
download | SCons-1f143a5d3520c09b8b55ce5f510d4924c4ea6da1.zip SCons-1f143a5d3520c09b8b55ce5f510d4924c4ea6da1.tar.gz SCons-1f143a5d3520c09b8b55ce5f510d4924c4ea6da1.tar.bz2 |
Clarify behavior of -C option plus speedups
Manpage now indicates that the additive behavior of multiple
-C options applies only to non-absolute paths. A test for
a -C absolute-path is added.
Along the way this and several other option flag testcases were
sped up through the tools=[] trick. On the Windows box under
test, these changes took 150 seconds off a (non-parallel) test run.
Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'test/option--W.py')
-rw-r--r-- | test/option--W.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/option--W.py b/test/option--W.py index e29cd7c..3f68fbc 100644 --- a/test/option--W.py +++ b/test/option--W.py @@ -28,7 +28,9 @@ import TestSCons test = TestSCons.TestSCons() -test.write('SConstruct', "") +test.write('SConstruct', """\ +DefaultEnvironment(tools=[]) +""") test.option_not_yet_implemented('-W', 'foo .') |