summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2009-06-09 05:57:48 (GMT)
committerRohan McGovern <rohan.mcgovern@nokia.com>2009-06-09 05:57:48 (GMT)
commitbbc0850742f4f926876dc55478ff74aaa121846b (patch)
treef5988335dd0167cbed39a4a14db0c28645281e8b /tests
parentebbfbe432671d899fb08ac8775e6e36d86f1c010 (diff)
downloadQt-bbc0850742f4f926876dc55478ff74aaa121846b.zip
Qt-bbc0850742f4f926876dc55478ff74aaa121846b.tar.gz
Qt-bbc0850742f4f926876dc55478ff74aaa121846b.tar.bz2
Fixed intermittent failure of tst_selftests.
Allow more variance for the benchlibtickcounter selftest.
Diffstat (limited to 'tests')
-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 6776b12..bdbfda3 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 */