summaryrefslogtreecommitdiffstats
path: root/src/testlib
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2012-02-29 12:49:25 +1000
committerQt by Nokia <qt-info@nokia.com>2012-03-02 01:06:22 +0100
commit51296085b9d96b131d1f095dd2cfe61745c07ef3 (patch)
tree8174bea4c7841c4a7f2a3663a763c65e49173cd9 /src/testlib
parent88374c79634469b0162bbaac108a360cfc3e3b7b (diff)
testlib: Improve documentation of verbose test logging options.
Change the help output to show which options only work for plain text logging. Change-Id: I39eb7cd0793cdbe553c230334c6cd532b4929f61 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'src/testlib')
-rw-r--r--src/testlib/qtestcase.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/testlib/qtestcase.cpp b/src/testlib/qtestcase.cpp
index a4f1a39bbd..e16787693d 100644
--- a/src/testlib/qtestcase.cpp
+++ b/src/testlib/qtestcase.cpp
@@ -1191,11 +1191,13 @@ Q_TESTLIB_EXPORT void qtest_qParseArgs(int argc, char *argv[], bool qml)
" *** If no output file is specified, stdout is assumed.\n"
" *** If no output format is specified, -txt is assumed.\n"
"\n"
- " Detail options:\n"
- " -silent : Only output failures and fatal errors in plain text output\n"
- " -v1 : Print enter messages for each testfunction\n"
- " -v2 : Also print out each QVERIFY/QCOMPARE/QTEST\n"
- " -vs : Print every signal emitted\n"
+ " Test log detail options:\n"
+ " -silent : Log failures and fatal errors only\n"
+ " -v1 : Log the start of each testfunction\n"
+ " -v2 : Log each QVERIFY/QCOMPARE/QTEST (implies -v1)\n"
+ " -vs : Log every signal emission and resulting slot invocations\n"
+ "\n"
+ " *** The -silent and -v1 options only affect plain text output.\n"
"\n"
" Testing options:\n"
" -functions : Returns a list of current testfunctions\n"