summaryrefslogtreecommitdiffstats
path: root/test/option--wuv.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-06-05 23:35:56 (GMT)
committerSteven Knight <knight@baldmt.com>2002-06-05 23:35:56 (GMT)
commit2f7d4f660fd048edc342a989d25c94d7b52ab13e (patch)
tree20def5c6f0f7b68ab7151cac4ada5c470a3b31e0 /test/option--wuv.py
parent42717c855f7cbb73d3017ac243a34491d3cc0c53 (diff)
downloadSCons-2f7d4f660fd048edc342a989d25c94d7b52ab13e.zip
SCons-2f7d4f660fd048edc342a989d25c94d7b52ab13e.tar.gz
SCons-2f7d4f660fd048edc342a989d25c94d7b52ab13e.tar.bz2
Changes from Charles Crain.
Diffstat (limited to 'test/option--wuv.py')
-rw-r--r--test/option--wuv.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/option--wuv.py b/test/option--wuv.py
index 3c0ee3d..db5481a 100644
--- a/test/option--wuv.py
+++ b/test/option--wuv.py
@@ -30,6 +30,14 @@ import sys
test = TestSCons.TestSCons()
+# We want to preserve the --warn-undefined-variables option for
+# compatibility with GNU Make. Unfortunately, this conflicts with
+# the --warn=type option that we're using for our own warning
+# control. The getopt module reports "--warn not a unique prefix"
+# when both are defined. We may be able to support both in the
+# future with a more robust getopt solution.
+test.pass_test() #XXX Short-circuit until then.
+
test.write('SConstruct', "")
test.run(arguments = '--warn-undefined-variables',