aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/api/testdata
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@digia.com>2014-04-22 11:24:08 +0200
committerChristian Kandeler <christian.kandeler@digia.com>2014-04-22 13:36:48 +0200
commit638d4f104184fab48c541f8372284576e998a1a3 (patch)
treee0350c165d612f631b860fae266b7705fa534aee /tests/auto/api/testdata
parent5877328c4dacb1283408083cb3538ea5bc46eae5 (diff)
Expose in the API whether a product can be run.
The list of target artifacts is typically not yet available after resolving, but we already know the product type. Change-Id: I8bf98901b4123197b8d8b9ac4a4b351f251ee987 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'tests/auto/api/testdata')
-rw-r--r--tests/auto/api/testdata/is-runnable/project.qbs10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/api/testdata/is-runnable/project.qbs b/tests/auto/api/testdata/is-runnable/project.qbs
new file mode 100644
index 000000000..02200fff2
--- /dev/null
+++ b/tests/auto/api/testdata/is-runnable/project.qbs
@@ -0,0 +1,10 @@
+import qbs
+
+Project {
+ CppApplication {
+ name: "app"
+ }
+ DynamicLibrary {
+ name: "lib"
+ }
+}