summaryrefslogtreecommitdiffstats
path: root/test/option--W.py
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2019-12-28 18:42:21 (GMT)
committerMats Wichmann <mats@linux.com>2019-12-29 13:01:44 (GMT)
commit1f143a5d3520c09b8b55ce5f510d4924c4ea6da1 (patch)
treeb0a0cfba9f8503b78c943ab0b91b721f8679de36 /test/option--W.py
parent37a9d36e9939bccd165885333a7c7b2870e85565 (diff)
downloadSCons-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.py4
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 .')