summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2022-11-28 21:14:45 +0100
committerFabian Kosmale <fabian.kosmale@qt.io>2022-11-30 04:50:37 +0100
commitcf17206a9d41b6e1b104fe4b99203060e5804f6e (patch)
tree24928bd3aef4deeaeea6e9740c6e84f81f26df85 /tests/auto
parent090394ab6fb9556c9ff1e5a4a5d6b93035a2f1d8 (diff)
tst_QByteArrayLarge::initTestCase: Skip tests under ASAN
Change-Id: I0095346fed64d588940f9eddd7ce370e0fecb940 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/corelib/text/qbytearray_large/tst_qbytearray_large.cpp8
1 files changed, 8 insertions, 0 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..24c851faa2 100644
--- a/tests/auto/corelib/text/qbytearray_large/tst_qbytearray_large.cpp
+++ b/tests/auto/corelib/text/qbytearray_large/tst_qbytearray_large.cpp
@@ -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()
{