diff options
author | Rohan McGovern <rohan.mcgovern@nokia.com> | 2009-07-29 03:59:41 (GMT) |
---|---|---|
committer | Rohan McGovern <rohan.mcgovern@nokia.com> | 2009-07-29 03:59:41 (GMT) |
commit | 461518b2429bb1ab4b356f3326b63db98d19e11b (patch) | |
tree | 05cf0a742b4a325571f97ae70b97e0052357525a /tests/auto | |
parent | 5f0374c5754e872aaaabef44bd18f0c3bee8d586 (diff) | |
download | Qt-461518b2429bb1ab4b356f3326b63db98d19e11b.zip Qt-461518b2429bb1ab4b356f3326b63db98d19e11b.tar.gz Qt-461518b2429bb1ab4b356f3326b63db98d19e11b.tar.bz2 |
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/auto')
-rw-r--r-- | tests/auto/selftests/tst_selftests.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/auto/selftests/tst_selftests.cpp b/tests/auto/selftests/tst_selftests.cpp index 30fe853..be8fcf6 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 |