diff options
author | Mats Wichmann <mats@linux.com> | 2022-03-21 16:14:30 (GMT) |
---|---|---|
committer | Mats Wichmann <mats@linux.com> | 2022-05-06 12:48:12 (GMT) |
commit | f3a7145aa3fab14f94d0492b2ee3d46539a314b5 (patch) | |
tree | fdd411f4ca09910e35d7d3f3640aa1cee758aeb3 /test/Decider | |
parent | 769edf8d42ef2c05ac5e9c768f1d9e8f3cedbfcf (diff) | |
download | SCons-f3a7145aa3fab14f94d0492b2ee3d46539a314b5.zip SCons-f3a7145aa3fab14f94d0492b2ee3d46539a314b5.tar.gz SCons-f3a7145aa3fab14f94d0492b2ee3d46539a314b5.tar.bz2 |
Fix a couple of sider complaints in new testcase
Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'test/Decider')
-rw-r--r-- | test/Decider/content-timestamp-symlink.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/test/Decider/content-timestamp-symlink.py b/test/Decider/content-timestamp-symlink.py index af7d5de..b448709 100644 --- a/test/Decider/content-timestamp-symlink.py +++ b/test/Decider/content-timestamp-symlink.py @@ -26,8 +26,6 @@ Test the content-timestamp decider (formerly known as md5-timestamp) correctly detects modification of a source file which is a symlink. """ -import os - import TestSCons _python_ = TestSCons._python_ @@ -47,13 +45,12 @@ sys.exit(0) test.write('SConstruct', """ DefaultEnvironment(tools=[]) -Build = Builder(action = r'%(_python_)s build.py $TARGET $SOURCES') +Build = Builder(action=r'%(_python_)s build.py $TARGET $SOURCES') env = Environment(tools=[], BUILDERS={'Build': Build}) env.Decider('content-timestamp') env.Build(target='match1.out', source='match1.in') env.Build(target='match2.out', source='match2.in') -""" % locals() -) +""" % locals()) test.write('match1.in', 'match1.in\n') test.symlink('match1.in', 'match2.in') |