From f25526ee38331f3e5b9926de525de2d292b5b9fa Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Wed, 24 Sep 2014 14:17:59 +0200 Subject: Store the build graph when adding or removing files. Otherwise, if the project is closed without building, it will needlessly be re-resolved the next time it is opened. Change-Id: I6b88498c5576539d8ee9c5f84e22344af44d2bfe Reviewed-by: Joerg Bornemann --- tests/auto/api/tst_api.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') 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 setupJob(qbs::Project().setupProject(setupParams, m_logSink, 0)); -- cgit v1.2.3