From 8dcb72fd1e2c17ad000474496b6d000580e0a943 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Fri, 20 Dec 2013 11:14:04 -0800 Subject: 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 Reviewed-by: Jason McDonald --- src/testlib/testlib.pro | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/testlib/testlib.pro') diff --git a/src/testlib/testlib.pro b/src/testlib/testlib.pro index 571e3b2fca..1fb6d6df18 100644 --- a/src/testlib/testlib.pro +++ b/src/testlib/testlib.pro @@ -33,7 +33,7 @@ HEADERS = qbenchmark.h \ qtestmouse.h \ qtestspontaneevent.h \ qtestsystem.h \ - qtesttouch.h \ + qtesttouch.h SOURCES = qtestcase.cpp \ qtestlog.cpp \ @@ -51,6 +51,7 @@ SOURCES = qtestcase.cpp \ qbenchmarkevent.cpp \ qbenchmarkperfevents.cpp \ qbenchmarkmetric.cpp \ + qcsvbenchmarklogger.cpp \ qtestelement.cpp \ qtestelementattribute.cpp \ qtestxunitstreamer.cpp \ -- cgit v1.2.3