diff options
Diffstat (limited to 'test/option-j.py')
-rw-r--r-- | test/option-j.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/option-j.py b/test/option-j.py index 49bd6ec..e67d3b4 100644 --- a/test/option-j.py +++ b/test/option-j.py @@ -52,9 +52,8 @@ file.close() """) test.write('SConstruct', """ -MyBuild = Builder(name = "MyBuild", - action = r'%s build.py $TARGETS') -env = Environment(BUILDERS = [MyBuild]) +MyBuild = Builder(action = r'%s build.py $TARGETS') +env = Environment(BUILDERS = { 'MyBuild' : MyBuild }) env.MyBuild(target = 'f1', source = 'f1.in') env.MyBuild(target = 'f2', source = 'f2.in') """ % python) |