diff options
author | Christian Kandeler <christian.kandeler@digia.com> | 2014-07-09 15:17:14 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@digia.com> | 2014-07-09 16:23:16 +0200 |
commit | 1f15a83966d600d4f93c07c17a07b24a1c1627b2 (patch) | |
tree | b60ecfdba024cc32645fe393a1338e33528e9913 /tests/auto/blackbox/tst_blackbox.cpp | |
parent | 04e31ed5cd574fd75372712d6b669c3d2fd50a20 (diff) |
Allow empty submodules property in Depends item.
It just means that no dependency should be pulled in by this item.
Useful for this kind of thing:
Product {
Depends {
name: "Qt"
submodules: theQtSubModulesINeed
}
property stringList theQtSubModulesIneed // Can be empty.
}
Change-Id: I8e500c3acfa4374be9005fcf349c0417ad47a76e
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'tests/auto/blackbox/tst_blackbox.cpp')
-rw-r--r-- | tests/auto/blackbox/tst_blackbox.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/blackbox/tst_blackbox.cpp b/tests/auto/blackbox/tst_blackbox.cpp index d7d6129d1..feba580d9 100644 --- a/tests/auto/blackbox/tst_blackbox.cpp +++ b/tests/auto/blackbox/tst_blackbox.cpp @@ -1569,6 +1569,12 @@ void TestBlackbox::emptyFileTagList() QCOMPARE(runQbs(), 0); } +void TestBlackbox::emptySubmodulesList() +{ + QDir::setCurrent(testDataDir + "/empty-submodules-list"); + QCOMPARE(runQbs(), 0); +} + void TestBlackbox::erroneousFiles_data() { QTest::addColumn<QString>("errorMessage"); |