qt6-bb10/tests/auto/corelib
Marc Mutz 3f3be9d774 tst_QStringView: (re)fix GCC ubsan build
Move the constexpr fromArray() check from fromArray() to constExpr()
and there add the protection necessary to work around
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71962, copied from
tst_QByteArrayView.

As a drive-by, add the test for constexpr construction from a char16_t
array, which was missing here (probably because of the GCC bug) while
the corresponding test was already in tst_QByteArrayView.

Amends 107ff4c1d6b5da2cb11c65b2bd9106817f7fdb02(!).
(iow: 6.0, and no, I don't know why it became a problem only now)

Pick-to: 6.7 6.5 6.2
Change-Id: Id9d2a08175709f8bf85b3b192e7aa49783b9e715
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2024-05-23 01:36:55 +02:00
..
animation Change license for tests files 2024-02-04 09:56:42 +01:00
global QLibraryInfo: add tests 2024-05-21 18:53:10 +02:00
io Exclude VxWorks from qstorageinfo tests 2024-05-16 21:36:03 +02:00
ipc QNativeIpcKey: use new comparison helper macros 2024-04-17 20:30:37 +02:00
itemmodels Extend QTest::failOnWarning() to a no-parameter fail-on-any-warning 2024-05-06 20:27:41 +02:00
kernel QVariant: do reset is_null after setValue() 2024-05-21 18:25:02 -05:00
mimetypes QMimeType: use modernize comparisons 2024-04-30 17:46:34 +02:00
platform tst_qcomobject: Reduce size of Qt-namespace 2024-05-13 15:25:36 +02:00
plugin QUuid, GUID: use new comparison helper macros 2024-05-22 23:32:56 +00:00
serialization Fix test compilation issues with QtLite configuration 2024-05-06 14:29:02 +00:00
text tst_QStringView: (re)fix GCC ubsan build 2024-05-23 01:36:55 +02:00
thread QtPrivate::ResultIteratorBase: use modernize comparisons 2024-05-14 00:32:35 +02:00
time Decouple the TZ and ICU backends for timezone data 2024-05-16 16:51:15 +02:00
tools tst_QSpan: fix a typo 2024-05-22 18:18:12 +02:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00