Skip to content

Commit b2858a3

Browse files
committed
create inst dir in build folder
1 parent de26d20 commit b2858a3

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

tests/auto/autoupdatercore/UpdaterTest/installercontroller.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ static const QString repogen = BINDIR + QStringLiteral("repogen");
1212
InstallerController::InstallerController(QObject *parent) :
1313
QObject(parent),
1414
_version(1, 0, 0),
15-
_buildDir()
15+
_buildDir(QCoreApplication::applicationDirPath() + "/tst_updatertest_XXXXXX")
1616
{
1717
setVersion(_version);
1818
}

tests/auto/autoupdatercore/UpdaterTest/tst_updatertest.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,6 @@ void UpdaterTest::testUpdateCheck()
9696
QFETCH(QString, toolPath);
9797
QFETCH(bool, hasUpdates);
9898
QFETCH(QList<Updater::UpdateInfo>, updates);
99-
100-
if(!QDir(toolPath).exists())
101-
QFAIL("inst dir does not exist!");
10299

103100
updater = new Updater(toolPath, this);
104101
QVERIFY(updater);

0 commit comments

Comments
 (0)