diff options
author | Steven Knight <knight@baldmt.com> | 2002-12-14 03:44:52 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-12-14 03:44:52 (GMT) |
commit | 87f783b6bdbdfe77ba3d92f41f7e0e9cda0de2d4 (patch) | |
tree | 5360eb8deb9fccf2ce09d1fba6cd3b727f56e834 /test/option--warn.py | |
parent | 415da53eb50ff3efadc22abfeeba1e7eb1042f71 (diff) | |
download | SCons-87f783b6bdbdfe77ba3d92f41f7e0e9cda0de2d4.zip SCons-87f783b6bdbdfe77ba3d92f41f7e0e9cda0de2d4.tar.gz SCons-87f783b6bdbdfe77ba3d92f41f7e0e9cda0de2d4.tar.bz2 |
Make error and warning message consistent. (Anthony Roach)
Diffstat (limited to 'test/option--warn.py')
-rw-r--r-- | test/option--warn.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/option--warn.py b/test/option--warn.py index 2471e84..e5660f6 100644 --- a/test/option--warn.py +++ b/test/option--warn.py @@ -37,7 +37,7 @@ b=Builder(name='b', action='foo') """) test.run(arguments='.', stderr=r""" -SCons warning: The use of the 'name' parameter to Builder\(\) is deprecated\. +scons: warning: The use of the 'name' parameter to Builder\(\) is deprecated\. File "SConstruct", line 2, in \? """) @@ -46,7 +46,7 @@ test.run(arguments='--warn=no-deprecated .', stderr='') test.run(arguments='--warn=no-all .', stderr='') test.run(arguments='--warn=no-all --warn=deprecated .', stderr=r""" -SCons warning: The use of the 'name' parameter to Builder\(\) is deprecated\. +scons: warning: The use of the 'name' parameter to Builder\(\) is deprecated\. File "SConstruct", line 2, in \? """) @@ -64,19 +64,19 @@ test.write("foo.c",""" """) test.run(arguments='--warn=dependency .', stderr=r""" -SCons warning: No dependency generated for file: not_there\.h \(included from: foo\.c\) \-\- file not found +scons: warning: No dependency generated for file: not_there\.h \(included from: foo\.c\) \-\- file not found File ".+", line \d+, in .+ """) test.run(arguments='--warn=all .', stderr=r""" -SCons warning: No dependency generated for file: not_there\.h \(included from: foo\.c\) \-\- file not found +scons: warning: No dependency generated for file: not_there\.h \(included from: foo\.c\) \-\- file not found File ".+", line \d+, in .+ """) test.run(arguments='--warn=all --warn=no-dependency .', stderr="") test.run(arguments='--warn=no-dependency --warn=all .', stderr=r""" -SCons warning: No dependency generated for file: not_there\.h \(included from: foo\.c\) \-\- file not found +scons: warning: No dependency generated for file: not_there\.h \(included from: foo\.c\) \-\- file not found File ".+", line \d+, in .+ """) |