summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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()
{