summaryrefslogtreecommitdiff
path: root/test/SCONSFLAGS.py
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2009-09-15 01:37:39 +0000
committerWilliam Deegan <bill@baddogconsulting.com>2009-09-15 01:37:39 +0000
commit7fc83999839408a730310a01cbd82e2d75661660 (patch)
tree547bc4eb042148c01f3e808921d12e8ac407cb5a /test/SCONSFLAGS.py
parent06650b1fa9a63505af69359d7f322b0839a7cca7 (diff)
downloadscons-7fc83999839408a730310a01cbd82e2d75661660.tar.gz
Steven checked in some changes yesterday which fixed a great number of
failing tests by setting SCONSFLAGS='-warn=no-python-version' in def run() in TestSCons.py yesterday, where previously it was done in def __init__(...). This fixed most of the broken tests, but broke some of the working tests. I readded the logic to def __init__ In addition I've added an extra arg to the __init__ for TestSCons.py ignore_python_version (which defaults to true). For those tests which need to be able to see the deprecation and/or test the functionality of the deprecation.
Diffstat (limited to 'test/SCONSFLAGS.py')
-rw-r--r--test/SCONSFLAGS.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SCONSFLAGS.py b/test/SCONSFLAGS.py
index 387cb264..cd363133 100644
--- a/test/SCONSFLAGS.py
+++ b/test/SCONSFLAGS.py
@@ -29,7 +29,7 @@ import os
import TestCmd
import TestSCons
-test = TestSCons.TestSCons(match = TestCmd.match_re_dotall)
+test = TestSCons.TestSCons(match = TestCmd.match_re_dotall,ignore_python_version=0)
wpath = test.workpath()