diff options
Diffstat (limited to 'tests/auto/corelib/text/qbytearray_large/tst_qbytearray_large.cpp')
-rw-r--r-- | tests/auto/corelib/text/qbytearray_large/tst_qbytearray_large.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/auto/corelib/text/qbytearray_large/tst_qbytearray_large.cpp b/tests/auto/corelib/text/qbytearray_large/tst_qbytearray_large.cpp index 65ba2f54ff..9cf7368907 100644 --- a/tests/auto/corelib/text/qbytearray_large/tst_qbytearray_large.cpp +++ b/tests/auto/corelib/text/qbytearray_large/tst_qbytearray_large.cpp @@ -1,6 +1,6 @@ // Copyright (C) 2022 The Qt Company Ltd. // Copyright (C) 2022 Intel Corporation. -// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only #include <QTest> @@ -15,6 +15,7 @@ class tst_QByteArrayLarge : public QObject Q_OBJECT private slots: + void initTestCase(); #ifndef QT_NO_COMPRESS void qCompress_data(); void qCompress(); @@ -26,6 +27,13 @@ private slots: void base64_2GiB(); }; +void tst_QByteArrayLarge::initTestCase() +{ +#if defined(QT_ASAN_ENABLED) + QSKIP("Skipping QByteArray tests under ASAN as they are too slow"); +#endif +} + #ifndef QT_NO_COMPRESS void tst_QByteArrayLarge::qCompress_data() { |