equal
deleted
inserted
replaced
180 #if defined(__GNUC__) && defined(__i386) && defined(Q_OS_LINUX) |
180 #if defined(__GNUC__) && defined(__i386) && defined(Q_OS_LINUX) |
181 QTest::newRow("benchlibcallgrind") << "benchlibcallgrind" << QStringList("-callgrind"); |
181 QTest::newRow("benchlibcallgrind") << "benchlibcallgrind" << QStringList("-callgrind"); |
182 #endif |
182 #endif |
183 QTest::newRow("benchlibeventcounter") << "benchlibeventcounter" << QStringList("-eventcounter"); |
183 QTest::newRow("benchlibeventcounter") << "benchlibeventcounter" << QStringList("-eventcounter"); |
184 QTest::newRow("benchliboptions") << "benchliboptions" << QStringList("-eventcounter"); |
184 QTest::newRow("benchliboptions") << "benchliboptions" << QStringList("-eventcounter"); |
185 QTest::newRow("benchlibwalltime") << "benchlibwalltime" << QStringList(); |
185 |
186 |
186 //### These tests are affected by timing and whether the CPU tick counter is |
187 //### This test is affected by the speed of the CPU and whether the tick counter is |
187 //### monotonically increasing. They won't work on some machines so leave them off by default. |
188 //### monotonically increasing. It won't work on some machines so leave it off by default. |
|
189 //### Feel free to uncomment for your own testing. |
188 //### Feel free to uncomment for your own testing. |
190 #if 0 |
189 #if 0 |
|
190 QTest::newRow("benchlibwalltime") << "benchlibwalltime" << QStringList(); |
191 QTest::newRow("benchlibtickcounter") << "benchlibtickcounter" << QStringList("-tickcounter"); |
191 QTest::newRow("benchlibtickcounter") << "benchlibtickcounter" << QStringList("-tickcounter"); |
192 #endif |
192 #endif |
193 |
193 |
194 QTest::newRow("xunit") << "xunit" << QStringList("-xunitxml"); |
194 QTest::newRow("xunit") << "xunit" << QStringList("-xunitxml"); |
195 QTest::newRow("longstring") << "longstring" << QStringList(); |
195 QTest::newRow("longstring") << "longstring" << QStringList(); |