Fix test with cmake build
Change-Id: I9153296dbd687abb65464638fd519d466f600e84 Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>bb10
parent
f741a12de1
commit
9fb2db1ccc
|
|
@ -572,7 +572,7 @@ void tst_QTemporaryFile::rename()
|
|||
void tst_QTemporaryFile::renameFdLeak()
|
||||
{
|
||||
#if defined(Q_OS_UNIX) && !defined(Q_OS_ANDROID)
|
||||
const QByteArray sourceFile = QFile::encodeName(QFINDTESTDATA(__FILE__));
|
||||
const QByteArray sourceFile = QFile::encodeName(QFINDTESTDATA("CMakeLists.txt"));
|
||||
QVERIFY(!sourceFile.isEmpty());
|
||||
// Test this on Unix only
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue