diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2017-07-07 15:16:48 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2017-07-10 13:43:39 +0000 |
commit | 77e407ef6b63253154ed692f69a2fac53d8c3fdf (patch) | |
tree | 80cf61d90a7bb0f2818ae6369f5b08764f417030 /tests/auto/language/tst_language.h | |
parent | 709bcc3efcf444639971d16c5e6d685d23fba464 (diff) | |
download | qbs-77e407ef6b63253154ed692f69a2fac53d8c3fdf.tar.gz |
Fix behavior with corrupt or outdated build graphs
Commit b6bf17cfd1 introduced a glitch in that a rebuild using a build
graph whose magic string does not match would throw an error at the
first attempt and silently succeed at the second one. The new behavior
is the same as for attempts to rebuild with property changes: A plain
"build" fails, a "resolve" does the trick. Some more code had to move
from the command line parser to the loader to achieve this.
Change-Id: I906748cc1686c0c5d413d9451ec9e2aa26ea2035
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'tests/auto/language/tst_language.h')
-rw-r--r-- | tests/auto/language/tst_language.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/language/tst_language.h b/tests/auto/language/tst_language.h index 9d63414a5..62805ec2f 100644 --- a/tests/auto/language/tst_language.h +++ b/tests/auto/language/tst_language.h @@ -126,6 +126,8 @@ private slots: void productConditions(); void productDirectories(); void profileValuesAndOverriddenValues(); + void projectFileLookup(); + void projectFileLookup_data(); void propertiesBlocks_data(); void propertiesBlocks(); void propertiesBlockInGroup(); |