diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2013-12-13 15:34:29 -0800 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-09 22:49:23 +0100 |
commit | eaedc04d90fdfc28cc9de96a32635bf327769086 (patch) | |
tree | b0f77d7942556ccfc71d1d26f221166e9437eec6 /src/testlib/qbenchmarkperfevents.cpp | |
parent | c8a8e0fb18c7c7cb6cf445dc9595eaf69f3cd126 (diff) |
Autotest: Fix QDateTime failure if the test got run West of Greenwich
There was a comment about the test failing for max() because of an
overflow. That happens if you're at UTC or ahead of it (to the East of
the Prime Meridian), which is how this test usually gets run (UTC,
Europe/Oslo, Europe/Helsinki, Pacific/Auckland). But if you're behind
UTC (to the West of the Prime Meridian), then the overflow happens for
min().
Change-Id: Iebba49d1303e9f18f5038f5cf23c77bf83e5fd4b
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Diffstat (limited to 'src/testlib/qbenchmarkperfevents.cpp')
0 files changed, 0 insertions, 0 deletions