Send error messages to stderr rather than stdout
authorJason McDonald <jason.mcdonald@nokia.com>
Fri, 26 Aug 2011 07:36:55 +0000 (17:36 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 29 Aug 2011 04:48:41 +0000 (06:48 +0200)
commit15400d94664f93dc22f71802eb72c34c52e371ac
tree0de2960f594f7cc4c57dbfe2e492f7696fa63fa3
parent043914bd97f2ad7afc474e13ebd97f2eadf60eae
Send error messages to stderr rather than stdout

The commit changes printf's that output error and warning messages to
send their text to the stderr stream.  Non-error output, such as that
produced by passing the -help option to a test, still goes to stdout.

Change-Id: Iea4d62451e3e7e84c654859cb09ea7e717511d13
Reviewed-on: http://codereview.qt.nokia.com/3636
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
src/testlib/qabstracttestlogger.cpp
src/testlib/qtestcase.cpp