Skip QProcess tests when run under ASan

These tests exhibit weird crashes when run under ASan, but sometimes
they fail sometimes they don't. Pending more insight, just skip this
test under that configuration.

Fixes: QTBUG-109329
Change-Id: I49d940de419f7166aab0da0b8c2b44297c4b6d74
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Ville Voutilainen 2022-12-15 11:08:13 +02:00
parent 5bdf03798d
commit c672f148db

View File

@ -154,6 +154,9 @@ private:
void tst_QProcess::initTestCase()
{
#if defined(QT_ASAN_ENABLED)
QSKIP("Skipping QProcess tests under ASAN as they are flaky (QTBUG-109329)");
#endif
QVERIFY2(m_temporaryDir.isValid(), qPrintable(m_temporaryDir.errorString()));
// chdir to our testdata path and execute helper apps relative to that.
QString testdata_dir = QFileInfo(QFINDTESTDATA("testProcessNormal")).absolutePath();