summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2009-06-09 15:57:48 +1000
committerJason McDonald <jason.mcdonald@nokia.com>2009-06-10 13:51:42 +1000
commit91c49887c679148e9679d8dea4edd63fac3381e7 (patch)
tree18c8f7880667d8ecf35d0b027fd12ebd38010bd9
parentd944c50f6737f3a07adbd7582d8fb8bc786c13f4 (diff)
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 22de3acc8b..4c4af9fdd2 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 */