summaryrefslogtreecommitdiffstats
path: root/test/Options.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-06-09 10:14:17 (GMT)
committerSteven Knight <knight@baldmt.com>2003-06-09 10:14:17 (GMT)
commit8b30616143d7c08df410885ccf7cff1cf599a659 (patch)
tree5f0af4c8a2467be8d39118e9881fe37d67e836a8 /test/Options.py
parent4d7ed00302f2f872f9719125b4fcb048e4ecb7ef (diff)
downloadSCons-8b30616143d7c08df410885ccf7cff1cf599a659.zip
SCons-8b30616143d7c08df410885ccf7cff1cf599a659.tar.gz
SCons-8b30616143d7c08df410885ccf7cff1cf599a659.tar.bz2
Fix Options.Update().
Diffstat (limited to 'test/Options.py')
-rw-r--r--test/Options.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Options.py b/test/Options.py
index 7d85076..b142db9 100644
--- a/test/Options.py
+++ b/test/Options.py
@@ -308,4 +308,12 @@ UNSPECIFIED: An option with no value
Use scons -H for help about command-line options.
"""%cc)
+test.write('SConstruct', """
+import SCons.Options
+env1 = Environment(options = Options())
+env2 = Environment(options = SCons.Options.Options())
+""")
+
+test.run()
+
test.pass_test()