Fix tst_QFile for configurations without process support
Change-Id: Icca2d55f0b9402bf4bcb009d972f21075d144f87 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
This commit is contained in:
parent
a0d3b5bb2b
commit
00d9033fa0
@ -412,8 +412,10 @@ static QByteArray msgFileDoesNotExist(const QString &name)
|
||||
void tst_QFile::initTestCase()
|
||||
{
|
||||
QVERIFY2(m_temporaryDir.isValid(), qPrintable(m_temporaryDir.errorString()));
|
||||
#if QT_CONFIG(process)
|
||||
m_stdinProcessDir = QFINDTESTDATA("stdinprocess");
|
||||
QVERIFY(!m_stdinProcessDir.isEmpty());
|
||||
#endif
|
||||
m_testSourceFile = QFINDTESTDATA("tst_qfile.cpp");
|
||||
QVERIFY(!m_testSourceFile.isEmpty());
|
||||
m_testLogFile = QFINDTESTDATA("testlog.txt");
|
||||
|
Loading…
Reference in New Issue
Block a user