summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2009-07-29 13:59:41 +1000
committerRohan McGovern <rohan.mcgovern@nokia.com>2009-07-29 13:59:41 +1000
commit461518b2429bb1ab4b356f3326b63db98d19e11b (patch)
tree05cf0a742b4a325571f97ae70b97e0052357525a /tests
parent5f0374c5754e872aaaabef44bd18f0c3bee8d586 (diff)
Disable benchlibtickcounter test by default.
This test depends on some low-level features of the CPU and the OS scheduler which seem impractical to automatically verify independently of the test. So turn it off to stop its intermittent failures in our test farm.
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/selftests/tst_selftests.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/auto/selftests/tst_selftests.cpp b/tests/auto/selftests/tst_selftests.cpp
index 30fe853775..be8fcf69d4 100644
--- a/tests/auto/selftests/tst_selftests.cpp
+++ b/tests/auto/selftests/tst_selftests.cpp
@@ -180,9 +180,10 @@ void tst_Selftests::runSubTest_data()
QTest::newRow("benchliboptions") << "benchliboptions" << QStringList("-eventcounter");
QTest::newRow("benchlibwalltime") << "benchlibwalltime" << QStringList();
- //### QWS tests are currently run on a virtual machine, where ticks are not
- //### monotonously increasing
-#if defined(HAVE_TICK_COUNTER) && !defined(Q_WS_QWS)
+ //### 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.
+ //### Feel free to uncomment for your own testing.
+#if 0
QTest::newRow("benchlibtickcounter") << "benchlibtickcounter" << QStringList("-tickcounter");
#endif