tst_qdecompresshelper: Disable big data tests under ASAN
They are already slow without ASAN, and risk running into timeouts with ASAN enabled. Change-Id: I427b990066d8ffa838ea90a318176fbcba400852 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
This commit is contained in:
parent
ba2f8c20dd
commit
090394ab6f
@ -319,6 +319,9 @@ void tst_QDecompressHelper::countAheadPartialRead()
|
||||
|
||||
void tst_QDecompressHelper::decompressBigData_data()
|
||||
{
|
||||
#if defined(QT_ASAN_ENABLED)
|
||||
QSKIP("Tests are too slow with asan enabled");
|
||||
#endif
|
||||
QTest::addColumn<QByteArray>("encoding");
|
||||
QTest::addColumn<QString>("path");
|
||||
QTest::addColumn<qint64>("size");
|
||||
@ -420,6 +423,8 @@ void tst_QDecompressHelper::bigZlib()
|
||||
{
|
||||
#if QT_POINTER_SIZE < 8
|
||||
QSKIP("This cannot be tested on 32-bit systems");
|
||||
#elif defined(QT_ASAN_ENABLED)
|
||||
QSKIP("Test is too slow with asan enabled");
|
||||
#else
|
||||
# ifndef QT_NO_EXCEPTIONS
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user