From 8fd1bbd2dbee0644af736059b26bf3a28e3fcd06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Matysiak?= Date: Wed, 26 Jun 2024 14:33:48 +0200 Subject: [PATCH] Blacklist tests requiring parsing text > 255 chars on VxWorks The "many-0 max dec" tests check if a large number (512) of leading zeros interferes with parsing the number. The std::from_chars implementation available on VxWorks cannot handle strings longer than 255 characters. The number is properly parsed, but the ptr returned as a part of the std::from_chars_result does not contain the correct result. It should point to the end of the string (as there is nothing left after the number), but it wraps and starts to point to other places. This leads to a wrong value returned by qstrnto(u)ll and to a failing test. The issue has been acknowledged by WindRiver. For now, blacklist the "many-0 max dec" tests. Pick-to: 6.7 Task-number: QTBUG-115777 Change-Id: I0a897728c71503e6817c69f8ced8ebb0a45295af Reviewed-by: Thiago Macieira (cherry picked from commit aea27282b783059ef52e928e811029cedb98ebf9) Reviewed-by: Qt Cherry-pick Bot --- tests/auto/corelib/text/qbytearrayapisymmetry/BLACKLIST | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/auto/corelib/text/qbytearrayapisymmetry/BLACKLIST diff --git a/tests/auto/corelib/text/qbytearrayapisymmetry/BLACKLIST b/tests/auto/corelib/text/qbytearrayapisymmetry/BLACKLIST new file mode 100644 index 00000000000..89ff7049b54 --- /dev/null +++ b/tests/auto/corelib/text/qbytearrayapisymmetry/BLACKLIST @@ -0,0 +1,8 @@ +[toLongLong_QByteArray:many-0 max dec] +vxworks +[toULongLong_QByteArray:many-0 max dec] +vxworks +[toLongLong_QByteArrayView:many-0 max dec] +vxworks +[toULongLong_QByteArrayView:many-0 max dec] +vxworks