tst_QByteArrayLarge::initTestCase: Skip tests under ASAN

Change-Id: I0095346fed64d588940f9eddd7ce370e0fecb940
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
bb10
Fabian Kosmale 2022-11-28 21:14:45 +01:00
parent 090394ab6f
commit cf17206a9d
1 changed files with 8 additions and 0 deletions

View File

@ -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()
{