Skip to content

Commit

Permalink
tst_QByteArrayLarge::initTestCase: Skip tests under ASAN
Browse files Browse the repository at this point in the history
Change-Id: I0095346fed64d588940f9eddd7ce370e0fecb940
Reviewed-by: Thiago Macieira <[email protected]>
  • Loading branch information
Inkane committed Nov 30, 2022
1 parent 090394a commit cf17206
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class tst_QByteArrayLarge : public QObject
Q_OBJECT

private slots:
void initTestCase();
#ifndef QT_NO_COMPRESS
void qCompress_data();
void qCompress();
Expand All @@ -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()
{
Expand Down

0 comments on commit cf17206

Please sign in to comment.