summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2009-12-17 00:27:37 (GMT)
committerRohan McGovern <rohan.mcgovern@nokia.com>2009-12-17 00:29:28 (GMT)
commit11ec7b3694feed8514f9559c7b732ad6217e88c6 (patch)
tree1800183593144ae245a1cbf3dc1cd76ca0ac7db8
parentf763f0089e0acb114524a6276c2ed7ff823d1d05 (diff)
downloadQt-11ec7b3694feed8514f9559c7b732ad6217e88c6.zip
Qt-11ec7b3694feed8514f9559c7b732ad6217e88c6.tar.gz
Qt-11ec7b3694feed8514f9559c7b732ad6217e88c6.tar.bz2
Disable benchlibwalltime test.
The test is inherently dependent on the timing behavior of the test machine. For now, it seems too difficult to ensure this works everywhere.
-rw-r--r--tests/auto/selftests/tst_selftests.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/selftests/tst_selftests.cpp b/tests/auto/selftests/tst_selftests.cpp
index 579f4eb..ed3b08e 100644
--- a/tests/auto/selftests/tst_selftests.cpp
+++ b/tests/auto/selftests/tst_selftests.cpp
@@ -182,12 +182,12 @@ void tst_Selftests::runSubTest_data()
#endif
QTest::newRow("benchlibeventcounter") << "benchlibeventcounter" << QStringList("-eventcounter");
QTest::newRow("benchliboptions") << "benchliboptions" << QStringList("-eventcounter");
- QTest::newRow("benchlibwalltime") << "benchlibwalltime" << QStringList();
- //### This test is affected by the speed of the CPU and whether the tick counter is
- //### monotonically increasing. It won't work on some machines so leave it off by default.
+ //### These tests are affected by timing and whether the CPU tick counter is
+ //### monotonically increasing. They won't work on some machines so leave them off by default.
//### Feel free to uncomment for your own testing.
#if 0
+ QTest::newRow("benchlibwalltime") << "benchlibwalltime" << QStringList();
QTest::newRow("benchlibtickcounter") << "benchlibtickcounter" << QStringList("-tickcounter");
#endif