diff options
Diffstat (limited to 'test/implicit-cache/basic.py')
-rw-r--r-- | test/implicit-cache/basic.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/implicit-cache/basic.py b/test/implicit-cache/basic.py index 0c9196c..265f589 100644 --- a/test/implicit-cache/basic.py +++ b/test/implicit-cache/basic.py @@ -41,7 +41,13 @@ test = TestSCons.TestSCons() test.subdir('include', 'subdir', ['subdir', 'include'], 'inc2') +# Set TargetSignatures('build') because a lot of the test below expect +# the old behavior of non-essential changes in .h files will propagate +# and cause the executable file to be re-linked as well (even if the +# object file was rebuilt to the exact same contents as last time). + test.write('SConstruct', """ +TargetSignatures('build') env = Environment(CPPPATH = Split('inc2 include')) obj = env.Object(target='prog', source='subdir/prog.c') env.Program(target='prog', source=obj) |