diff options
author | Steven Knight <knight@baldmt.com> | 2004-09-03 17:08:11 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2004-09-03 17:08:11 (GMT) |
commit | 7bd3df88f173d2b12534e338195e2adecdb34ac5 (patch) | |
tree | caba165331b44caffa931a42293a382d560af2cd /test/ParseConfig.py | |
parent | e2b84c3a18fb7e86553648fa7bb9dcf74e83f1a2 (diff) | |
download | SCons-7bd3df88f173d2b12534e338195e2adecdb34ac5.zip SCons-7bd3df88f173d2b12534e338195e2adecdb34ac5.tar.gz SCons-7bd3df88f173d2b12534e338195e2adecdb34ac5.tar.bz2 |
Remove all features deprecated in 0.93 or earlier.
Diffstat (limited to 'test/ParseConfig.py')
-rw-r--r-- | test/ParseConfig.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/test/ParseConfig.py b/test/ParseConfig.py index 7e31a17..e7f50e5 100644 --- a/test/ParseConfig.py +++ b/test/ParseConfig.py @@ -60,15 +60,6 @@ print map(lambda x: str(x), env['LIBS']) print env['CCFLAGS'] """ % (TestSCons.python, test_config)) -test.write('SConstruct3', """ -env = Environment(CPPPATH = [], LIBPATH = [], LIBS = [], CCFLAGS = '') -ParseConfig(env, r"%s %s --libs --cflags") -print env['CPPPATH'] -print env['LIBPATH'] -print map(lambda x: str(x), env['LIBS']) -print env['CCFLAGS'] -""" % (TestSCons.python, test_config)) - good_stdout = test.wrap_stdout(read_str = """\ ['/usr/include/fum', 'bar'] ['/usr/fax', 'foo'] @@ -80,12 +71,4 @@ test.run(arguments = ".", stdout = good_stdout) test.run(arguments = "-f SConstruct2 .", stdout = good_stdout) -test.run(arguments = "-f SConstruct3 .", - stdout = good_stdout, - stderr = """ -scons: warning: The ParseConfig() function has been deprecated; - use the env.ParseConfig() method instead. -File "SConstruct3", line 3, in ? -""") - test.pass_test() |