diff options
author | Christian Kandeler <christian.kandeler@digia.com> | 2013-07-15 11:21:25 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@digia.com> | 2013-07-16 10:18:40 +0200 |
commit | 3315b5a35f86f70d9d3ef32fcc07d90406f5b30a (patch) | |
tree | b18fe4a2e1ee63563be37416992266c460050315 /tests/auto/blackbox/testdata/trackExternalProductChanges | |
parent | 7aff31171eb3e756fc6ac6ff4bb4db6dcc96e42a (diff) | |
download | qbs-3315b5a35f86f70d9d3ef32fcc07d90406f5b30a.tar.gz |
Use previous results of calls to "File.exists()" in change tracking.
This is the same kind of "external change" as those coming from the
environment or JavaScript files, and is thus handled the same way.
Change-Id: I0a097d6d5c39ece859e6784f65f77f35a7273d59
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'tests/auto/blackbox/testdata/trackExternalProductChanges')
-rw-r--r-- | tests/auto/blackbox/testdata/trackExternalProductChanges/project.qbs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/auto/blackbox/testdata/trackExternalProductChanges/project.qbs b/tests/auto/blackbox/testdata/trackExternalProductChanges/project.qbs index cfd897447..8ed267fa5 100644 --- a/tests/auto/blackbox/testdata/trackExternalProductChanges/project.qbs +++ b/tests/auto/blackbox/testdata/trackExternalProductChanges/project.qbs @@ -1,6 +1,10 @@ import qbs +import qbs.File import "fileList.js" as FileList CppApplication { - files: ["main.cpp"].concat(FileList.fileList()).concat(qbs.getenv("QBS_TEST_PULL_IN_FILE_VIA_ENV") ? ["environmentChange.cpp"] : []) + property pathList filesFromEnv: qbs.getenv("QBS_TEST_PULL_IN_FILE_VIA_ENV") ? ["environmentChange.cpp"] : [] + property pathList filesFromJs: FileList.fileList() + property pathList filesFromFs: File.exists(path + "/fileExists.cpp") ? ["fileExists.cpp"] : [] + files: ["main.cpp"].concat(filesFromJs).concat(filesFromEnv).concat(filesFromFs) } |