diff options
author | Christian Kandeler <christian.kandeler@digia.com> | 2014-09-24 14:17:59 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@digia.com> | 2014-09-24 17:49:36 +0200 |
commit | f25526ee38331f3e5b9926de525de2d292b5b9fa (patch) | |
tree | 7353e62d68b34ce23ebf7b5066ce3849a0be537e /tests | |
parent | 7a4988687d3db80d4d75ab13c87a629551fb7345 (diff) |
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 <joerg.bornemann@digia.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/api/tst_api.cpp | 1 |
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)); |