aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/api/tst_api.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/api/tst_api.cpp b/tests/auto/api/tst_api.cpp
index 687863876..1ed331cca 100644
--- a/tests/auto/api/tst_api.cpp
+++ b/tests/auto/api/tst_api.cpp
@@ -771,6 +771,7 @@ void TestApi::projectInvalidation()
const QString projectDirPath = QDir::cleanPath(m_workingDataDir + "/project-invalidation");
setupParams.setProjectFilePath(projectDirPath + "/project.qbs");
QDir::setCurrent(projectDirPath);
+ setupParams.setBuildRoot(projectDirPath);
QVERIFY(QFile::copy("project.no-error.qbs", "project.qbs"));
QScopedPointer<qbs::SetupProjectJob> setupJob(qbs::Project().setupProject(setupParams,
m_logSink, 0));