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 <thiago.macieira@intel.com> (cherry picked from commit aea27282b783059ef52e928e811029cedb98ebf9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
09548cb710
commit
8fd1bbd2db
8
tests/auto/corelib/text/qbytearrayapisymmetry/BLACKLIST
Normal file
8
tests/auto/corelib/text/qbytearrayapisymmetry/BLACKLIST
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user