summaryrefslogtreecommitdiff
path: root/test/Parallel
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2008-12-20 16:15:01 +0000
committerSteven Knight <knight@baldmt.com>2008-12-20 16:15:01 +0000
commit9006aefb25baa8dc13b6427ac7a9e143c56a884e (patch)
tree1bd5721d8a968fd011383770e6812819427586b2 /test/Parallel
parent2bc659082229338d99ed0c13af8b95e007542dbb (diff)
downloadscons-9006aefb25baa8dc13b6427ac7a9e143c56a884e.tar.gz
Fix left-over deprecated use of the Options object.
Diffstat (limited to 'test/Parallel')
-rw-r--r--test/Parallel/multiple-parents.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/Parallel/multiple-parents.py b/test/Parallel/multiple-parents.py
index ceeb47f4..1b7a1a1d 100644
--- a/test/Parallel/multiple-parents.py
+++ b/test/Parallel/multiple-parents.py
@@ -55,9 +55,9 @@ test = TestSCons.TestSCons()
# h) Builds that are interrupted
test.write('SConstruct', """
-opts = Options()
-opts.Add( BoolOption('interrupt', 'Interrupt the build.', 0 ) )
-optEnv = Environment(options=opts)
+vars = Variables()
+vars.Add( BoolVariable('interrupt', 'Interrupt the build.', 0 ) )
+varEnv = Environment(variables=vars)
def fail_action(target = None, source = None, env = None):
return 2
@@ -93,7 +93,7 @@ prev_prereq = prereq0
prev_ignore = ignore0
prev_igreq = igreq0
-if optEnv['interrupt']:
+if varEnv['interrupt']:
prev_level = prev_level + interrupt
for i in range(1,20):