summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2009-06-09 05:57:48 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2009-06-10 03:51:42 (GMT)
commit91c49887c679148e9679d8dea4edd63fac3381e7 (patch)
tree18c8f7880667d8ecf35d0b027fd12ebd38010bd9
parentd944c50f6737f3a07adbd7582d8fb8bc786c13f4 (diff)
downloadQt-91c49887c679148e9679d8dea4edd63fac3381e7.zip
Qt-91c49887c679148e9679d8dea4edd63fac3381e7.tar.gz
Qt-91c49887c679148e9679d8dea4edd63fac3381e7.tar.bz2
Fixed intermittent failure of tst_selftests.
Allow more variance for the benchlibtickcounter selftest. (cherry picked from commit bbc0850742f4f926876dc55478ff74aaa121846b)
-rw-r--r--tests/auto/selftests/tst_selftests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/selftests/tst_selftests.cpp b/tests/auto/selftests/tst_selftests.cpp
index 22de3ac..4c4af9f 100644
--- a/tests/auto/selftests/tst_selftests.cpp
+++ b/tests/auto/selftests/tst_selftests.cpp
@@ -97,7 +97,7 @@ inline bool qCompare
variance = 0.001;
}
else if (r1.unit == "ticks") {
- variance = 0.0001;
+ variance = 0.001;
}
if (variance == 0.) {
/* No variance allowed - compare whole string */