aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2018-06-01 16:54:40 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2018-06-04 07:57:20 +0000
commit9349866b37118db9179d1f0689e872ca1260f040 (patch)
tree9fb8804ccbb39966c66a3106ca6519ebe7e0092a /tests
parent61b078f88c659abcb32ea2ee71f979502cd446a8 (diff)
AutotestRunner: Fix override logic for the arguments property
Unfortunately, we turn undefined list properties into empty lists when resolving the project, so list properties always have a truthy value inside rules. So use the value from the module only if it is a non-empty list. Change-Id: Iebcba47c34094926b05226b98dfa486cfde23eee Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/blackbox/testdata/autotest-with-dependencies/autotest-with-dependencies.qbs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/blackbox/testdata/autotest-with-dependencies/autotest-with-dependencies.qbs b/tests/auto/blackbox/testdata/autotest-with-dependencies/autotest-with-dependencies.qbs
index 24c3ef075..682b4c029 100644
--- a/tests/auto/blackbox/testdata/autotest-with-dependencies/autotest-with-dependencies.qbs
+++ b/tests/auto/blackbox/testdata/autotest-with-dependencies/autotest-with-dependencies.qbs
@@ -17,6 +17,7 @@ Project {
CppApplication {
name: "test-app"
type: ["application", "autotest"]
+ Depends { name: "autotest" }
files: "test-main.cpp"
}