diff options
| author | Steven Knight <knight@baldmt.com> | 2005-02-10 06:02:02 (GMT) |
|---|---|---|
| committer | Steven Knight <knight@baldmt.com> | 2005-02-10 06:02:02 (GMT) |
| commit | 11f1e91b731f3914d520b3bddb38da3ec55cb7ce (patch) | |
| tree | b859c75a691e4a85bfce764b0a1940a2cc2f4c79 /test | |
| parent | ac121612f842bbfe3cf35459dbd85c63c0fa7aa5 (diff) | |
| download | SCons-11f1e91b731f3914d520b3bddb38da3ec55cb7ce.zip SCons-11f1e91b731f3914d520b3bddb38da3ec55cb7ce.tar.gz SCons-11f1e91b731f3914d520b3bddb38da3ec55cb7ce.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.py | 5 |
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']) |
