summaryrefslogtreecommitdiff
path: root/test/NoClean.py
diff options
context:
space:
mode:
authorDirk Baechle <dl9obn@darc.de>2015-02-27 00:44:19 +0100
committerDirk Baechle <dl9obn@darc.de>2015-02-27 00:44:19 +0100
commitb2230ada31c8a64f44cf2afb15d80374307fc13a (patch)
treee4e8f3ef044c39a930235a39bb7301d35b0300ff /test/NoClean.py
parent4ce07298d57859d28bbef0cf5f07c10725bb51e5 (diff)
downloadscons-b2230ada31c8a64f44cf2afb15d80374307fc13a.tar.gz
- switching Node class and NodeInfo/Binfo to using slots
- memoizer subsystem now uses decorators instead of the metaclass approach
Diffstat (limited to 'test/NoClean.py')
-rw-r--r--test/NoClean.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/NoClean.py b/test/NoClean.py
index 01fe209d..63e3e28e 100644
--- a/test/NoClean.py
+++ b/test/NoClean.py
@@ -34,14 +34,14 @@ test = TestSCons.TestSCons()
test.write('SConstruct', """
def action(target, source, env):
- for t in target: open(t.path, 'w')
+ for t in target: open(t.get_internal_path(), 'w')
Command('1.out', 'SConstruct', action)
NoClean('1.out')
""")
test.write('SConstruct.force', """
def action(target, source, env):
- for t in target: open(t.path, 'w')
+ for t in target: open(t.get_internal_path(), 'w')
open('4.out', 'w')
res = Command('3.out', 'SConstruct.force', action)
Clean('4.out', res)
@@ -50,7 +50,7 @@ NoClean('4.out')
test.write('SConstruct.multi', """
def action(target, source, env):
- for t in target: open(t.path, 'w')
+ for t in target: open(t.get_internal_path(), 'w')
Command(['5.out', '6.out'], 'SConstruct.multi', action)
NoClean('6.out')
""")