summaryrefslogtreecommitdiff
path: root/tests/auto/api
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@petroules.com>2014-09-25 06:00:52 -0400
committerJake Petroules <jake.petroules@petroules.com>2014-09-25 12:12:08 +0200
commitd6d2c8a9b1b8eb9f6e4b5887018f4ccf45769739 (patch)
tree506e39d3b92cf97c216bc2b8832c9daf2411722c /tests/auto/api
parent48398d5fcac8718326db5f179fadbca9aaf1add6 (diff)
downloadqbs-d6d2c8a9b1b8eb9f6e4b5887018f4ccf45769739.tar.gz
Apply workaround to get appWithoutSources autotest passing again.
Change-Id: I0d491ecb46f23a1eac8071a48f8f30005d229539 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Diffstat (limited to 'tests/auto/api')
-rw-r--r--tests/auto/api/testdata/app-without-sources/project.qbs7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/auto/api/testdata/app-without-sources/project.qbs b/tests/auto/api/testdata/app-without-sources/project.qbs
index dca195e29..fd90f482d 100644
--- a/tests/auto/api/testdata/app-without-sources/project.qbs
+++ b/tests/auto/api/testdata/app-without-sources/project.qbs
@@ -25,7 +25,12 @@ Project {
CppApplication {
name: "appWithoutSources"
type: ["application"]
- cpp.entryPoint: "main"
+
+ // HACK: cpp.entryPoint currently not working 100% with gcc
+ Properties {
+ condition: qbs.toolchain.contains("msvc")
+ cpp.entryPoint: "main"
+ }
Depends { name: "a" }
Depends { name: "b" }