summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorManish Vachharajani <manishv@unbounded.systems>2017-03-22 22:56:43 (GMT)
committerManish Vachharajani <manishv@unbounded.systems>2017-03-22 22:56:43 (GMT)
commitc19ac5639c091a03085f27a8e771b77779894242 (patch)
tree7db6f0e5b2a947dee7b20f12287d9c102ddb862a /test
parentc5eead8a1737e6ef4a63dfba11226a4ae2fb9c98 (diff)
downloadSCons-c19ac5639c091a03085f27a8e771b77779894242.zip
SCons-c19ac5639c091a03085f27a8e771b77779894242.tar.gz
SCons-c19ac5639c091a03085f27a8e771b77779894242.tar.bz2
Revert incomplete bug fix
Diffstat (limited to 'test')
-rw-r--r--test/Dir/Dir.py25
1 files changed, 0 insertions, 25 deletions
diff --git a/test/Dir/Dir.py b/test/Dir/Dir.py
index 88763a4..2e8204c 100644
--- a/test/Dir/Dir.py
+++ b/test/Dir/Dir.py
@@ -71,31 +71,6 @@ env.MD(target='sub2', source=['SConstruct'], OVERRIDE='foo')
test.run()
-#The following test creates a builder with only a directory target,
-#updates its source, and ensures that the directory target is
-#considered out of date and rebuilt.
-
-test.write('foo-contents.txt', """Hello, """)
-test.write('SConstruct', """\
-import os
-
-def mkdir_and_copy(target=None, source=None, env=None):
- os.mkdir(str(target[0]))
- os.copy(str(source[0]), str(target[0]))
-
-mac_builder = Builder(action=mkdir_and_copy)
-env = Environment()
-env.Append(BUILDERS = {'MAC': mac_builder}
-env.MAC(target='foo', src='foo-contents.txt')
-""")
-
-#Build foo
-test.not_up_to_date('foo')
-test.up_to)
-
-test.write('foo-contents.txt', """Hello, World!""")
-test.not_up_to_date('foo')
-
test.pass_test()
# Local Variables: