summaryrefslogtreecommitdiff
path: root/test/subdivide.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2005-05-07 19:19:41 +0000
committerSteven Knight <knight@baldmt.com>2005-05-07 19:19:41 +0000
commit730081593efc2ac5c17def1650ad0b39c4d0e72a (patch)
tree3379689db64e402fa4720e60ce7ecd1f307ad762 /test/subdivide.py
parentd629cdf3f3b332a1b3c9c9fa550c90b8dd710766 (diff)
downloadscons-730081593efc2ac5c17def1650ad0b39c4d0e72a.tar.gz
Make SConsignFile() behavior the default.
Diffstat (limited to 'test/subdivide.py')
-rw-r--r--test/subdivide.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/subdivide.py b/test/subdivide.py
index f6aa4f11..18219bf3 100644
--- a/test/subdivide.py
+++ b/test/subdivide.py
@@ -25,8 +25,9 @@
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
"""
-Verify that rebuilds do not occur when TargetSignatures()
-content is used to subdivide a dependency tree.
+Verify that rebuilds do not occur when SConsignFile(None) is used to
+put a .sconsign file in each directory, and TargetSignatures('content')
+is used to subdivide a dependency tree.
"""
import os.path
@@ -46,6 +47,7 @@ test = TestSCons.TestSCons()
test.subdir('src', ['src', 'sub'])
test.write('SConstruct', """\
+SConsignFile(None)
TargetSignatures('content')
env = Environment()
env.SConscript('src/SConstruct', exports=['env'])
@@ -53,6 +55,7 @@ env.Object('foo.c')
""")
test.write(['src', 'SConstruct'], """\
+SConsignFile(None)
TargetSignatures('content')
env = Environment()
p = env.Program('prog', ['main.c', '../foo%s', 'sub/bar.c'])