diff options
author | Steven Knight <knight@baldmt.com> | 2002-08-13 10:18:23 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-08-13 10:18:23 (GMT) |
commit | 7bbef28aa0e582776ae4d7a8af34641c5faf794a (patch) | |
tree | 533e94d54428a41705d2b34908f574a5db77e940 /test | |
parent | 4b97c6ca164273b220c1b1f5fdfa18b8ba28b0ca (diff) | |
download | SCons-7bbef28aa0e582776ae4d7a8af34641c5faf794a.zip SCons-7bbef28aa0e582776ae4d7a8af34641c5faf794a.tar.gz SCons-7bbef28aa0e582776ae4d7a8af34641c5faf794a.tar.bz2 |
Fix implicit dependencies with duplicate=0.
Diffstat (limited to 'test')
-rw-r--r-- | test/BuildDir.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/BuildDir.py b/test/BuildDir.py index 79f0eb0..1c09392 100644 --- a/test/BuildDir.py +++ b/test/BuildDir.py @@ -229,4 +229,15 @@ test.fail_test(os.path.exists(test.workpath('build', 'var5', 'f2.in'))) test.fail_test(os.path.exists(test.workpath('build', 'var5', 'b1.f'))) test.fail_test(os.path.exists(test.workpath('build', 'var5', 'b2.in'))) +# verify that header files in the source directory are scanned properly: +test.write(['test', 'src', 'f1.h'], r""" +#define F1_STR "f1.c 2\n" +""") + +open('/dev/tty', 'w').write('-----\n') +test.run(chdir='test', arguments = '../build/var5') +print test.stdout() + +test.run(program = foo51, stdout = "f1.c 2\n") + test.pass_test() |