Commit e3de5953 authored by Morten Volden's avatar Morten Volden

Fix qmakeproject unittest to work on Windows.

Summary: Fix qmakeproject unittest to work on Windows

Test Plan: Build on Windows, verify test passes. Build on Linux, verify test passes (as before).

Reviewers: #kdevelop, kfunk

Reviewed By: #kdevelop, kfunk

Subscribers: kdevelop-devel

Tags: #kdevelop

Differential Revision: https://phabricator.kde.org/D17158
parent b1ba6403
......@@ -87,7 +87,7 @@ void TestQMakeProject::testBuildDirectory()
QFETCH(QString, target);
QFETCH(QString, expected);
const QString buildDir = QStringLiteral("/tmp/some/path"); // some dummy directory to build (nothing will be built anyway)
const QString buildDir = QDir::rootPath() + QStringLiteral("tmp/some/path"); // some dummy directory to build (nothing will be built anyway)
foreach (IProject* p, ICore::self()->projectController()->projects()) {
ICore::self()->projectController()->closeProject(p);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment