Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.10
-
None
-
Debian 64-bit big-endian PPC 64 (powermac G5)
Description
134: FAIL! : tst_QUuid::uint128() The computed value is expected to be equal to the baseline, but is not 134: Computed (uuid) : {d128b8c5-ee95-a43c-3644-34cc9eb569fc} 134: Baseline (uuidA): {fc69b59e-cc34-4436-a43c-ee95d128b8c5} 134: Loc: [/home/rutledge/dev/qt6/qtbase/tests/auto/corelib/plugin/quuid/tst_quuid.cpp(303)]
void tst_QUuid::uint128() { #ifdef QT_SUPPORTS_INT128 constexpr quint128 u = Q_UINT128_C(0xfc69b59e'cc344436'a43cee95'd128b8c5); // This is LE constexpr quint128 be = qToBigEndian(u); constexpr QUuid uuid = QUuid::fromUInt128(be); static_assert(uuid.toUInt128() == be, "Round-trip through QUuid failed"); QT_TEST_EQUALITY_OPS(uuid, uuidA, true);
Maybe we could ifdef it or do something different in that case. I don't understand yet if there is an actual QUuid bug, or just the test wasn't expected to work on big-endian architectures.
Attachments
Issue Links
- resulted from
-
QTBUG-116220 Explain the endianness parameters on QUuid 6.6 functions
-
- Reported
-
Gerrit Reviews
For Gerrit Dashboard: QTBUG-134634 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
631143,1 | tst_QUuid: fix big endian runs | dev | qt/qtbase | Status: NEW | 0 | 0 |