tst_qdatastream: expect failure on 32bit system with large QBitArray
Test data causes the QBitArray to be read as 0 byte length. Same issue on all 32bit systems, removing android blacklisting as this was the only one failing there. Task-number: QTBUG-87660 Change-Id: I63f0c1c6fa4e2242e6ebe70f50e422ab0fbf1c88 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
This commit is contained in:
parent
7f5429f2f4
commit
d3399092db
@ -1,3 +0,0 @@
|
||||
# QTBUG-87660
|
||||
[status_QBitArray]
|
||||
android
|
@ -3028,6 +3028,10 @@ void tst_QDataStream::status_QBitArray()
|
||||
QBitArray str;
|
||||
stream >> str;
|
||||
|
||||
if (sizeof(qsizetype) == sizeof(int))
|
||||
QEXPECT_FAIL("new badsize 0x10000", "size > INT_MAX fails on 32bit system (QTBUG-87660)",
|
||||
Continue);
|
||||
|
||||
QCOMPARE(int(stream.status()), expectedStatus);
|
||||
QCOMPARE(str.size(), expectedString.size());
|
||||
QCOMPARE(str, expectedString);
|
||||
|
Loading…
x
Reference in New Issue
Block a user