summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtestlog_p.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2013-12-20 11:14:04 -0800
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-14 00:34:25 +0100
commit8dcb72fd1e2c17ad000474496b6d000580e0a943 (patch)
tree7e210404d51d2aff3fc6cdd92938071701acc0b1 /src/testlib/qtestlog_p.h
parent539196689e806f8c175bb50343a4dc2cab52e838 (diff)
Add a CSV logging feature to the benchlib
This is only useful for logging benchmarks, since it won't print test passes, failures, etc. It's useful for importing to spreadsheets to do number-crunching. [ChangeLog][QtTest]Added a CSV logging mode that is suitable for importing benchmark results into spreadsheets. This can be enabled by the -csv option on the command-line. The CSV logging mode will not print test failures, debug messages, warnings, etc. Change-Id: I245d6f86bb380645c9bc0d748cf474b3ed42cab8 Reviewed-by: Sergio Ahumada <sahumada@blackberry.com> Reviewed-by: Jason McDonald <macadder1@gmail.com>
Diffstat (limited to 'src/testlib/qtestlog_p.h')
-rw-r--r--src/testlib/qtestlog_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testlib/qtestlog_p.h b/src/testlib/qtestlog_p.h
index bd83870934..a987c45806 100644
--- a/src/testlib/qtestlog_p.h
+++ b/src/testlib/qtestlog_p.h
@@ -63,7 +63,7 @@ class QRegularExpression;
class Q_TESTLIB_EXPORT QTestLog
{
public:
- enum LogMode { Plain = 0, XML, LightXML, XunitXML };
+ enum LogMode { Plain = 0, XML, LightXML, XunitXML, CSV };
static void enterTestFunction(const char* function);
static void leaveTestFunction();