mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-20 11:35:39 +02:00
added new timing related command line options
2 new timing related command line options have been added: - performance-timings [-p]: print out performance timings per test case and group - performance-timings-threshold [-q <secs>]: print out only the timings exceeding this given threshold value
This commit is contained in:
@@ -44,7 +44,7 @@ namespace Catch {
|
||||
private:
|
||||
static void OutputTestSuites( XmlWriter& xml, AccumTestRunStats const& stats ) {
|
||||
xml.startElement( "testsuites" );
|
||||
|
||||
xml.writeAttribute( "name", stats.testRun.runInfo.name );
|
||||
xml.writeAttribute( "time", stats.testRun.timeSecs );
|
||||
|
||||
std::vector<AccumTestGroupStats>::const_iterator it = stats.testGroups.begin();
|
||||
|
Reference in New Issue
Block a user