summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2005-02-10 06:02:02 (GMT)
committerSteven Knight <knight@baldmt.com>2005-02-10 06:02:02 (GMT)
commit0278c902ea8713e407073dbbfaf0067eb0c6ab3b (patch)
treeb859c75a691e4a85bfce764b0a1940a2cc2f4c79 /test
parent47425686c69cd7ad008500dfd8c14be37909a953 (diff)
downloadSCons-0278c902ea8713e407073dbbfaf0067eb0c6ab3b.zip
SCons-0278c902ea8713e407073dbbfaf0067eb0c6ab3b.tar.gz
SCons-0278c902ea8713e407073dbbfaf0067eb0c6ab3b.tar.bz2
Don't create a Node for every file we try to find during scan.
Diffstat (limited to 'test')
-rw-r--r--test/builddir-reflect.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/builddir-reflect.py b/test/builddir-reflect.py
index 7ce2a5b..beb7df0 100644
--- a/test/builddir-reflect.py
+++ b/test/builddir-reflect.py
@@ -98,7 +98,10 @@ Link
match=TestSCons.match_re,
)
-test.must_exist(['dir1', 'dir2', 'foo.h'])
+# Note that we don't check for the existence of dir1/dir2/foo.h, because
+# this bad cpppath will expand to dir1/dir2/dir1/dir2, which means it
+# won't pick up the srcdir copy of dir/dir2/foo.h. That's all right,
+# we just need to make sure it doesn't create dir1/dir2/dir1/dir2/foo.h.
test.must_exist(['dir1', 'dir2', 'src1', 'foo.c'])
test.must_not_exist(['dir1', 'dir2', 'dir1', 'dir2', 'foo.h'])