aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata/conflicting-artifacts
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@theqtcompany.com>2016-04-21 11:29:46 +0200
committerChristian Kandeler <christian.kandeler@theqtcompany.com>2016-04-21 11:24:20 +0000
commit45f039b6222d7c021e97a5f487a2c2e07ae5fa41 (patch)
treeeb301db4e9f08bf15b58405c16bcac891d6b7e2a /tests/auto/blackbox/testdata/conflicting-artifacts
parent483f414123edfd2ebc979759858eb837e04a1b8e (diff)
Show proper error message for conflicting artifacts.
This is not an internal error, but can be triggered by users. Also fix the check to take all products into account and run it in release mode too. Change-Id: Ie7b1826cfa87254a114c3091a654886ea8d19b0f Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'tests/auto/blackbox/testdata/conflicting-artifacts')
-rw-r--r--tests/auto/blackbox/testdata/conflicting-artifacts/conflicting-artifacts.qbs16
-rw-r--r--tests/auto/blackbox/testdata/conflicting-artifacts/main.cpp1
2 files changed, 17 insertions, 0 deletions
diff --git a/tests/auto/blackbox/testdata/conflicting-artifacts/conflicting-artifacts.qbs b/tests/auto/blackbox/testdata/conflicting-artifacts/conflicting-artifacts.qbs
new file mode 100644
index 000000000..f2c5cb2bc
--- /dev/null
+++ b/tests/auto/blackbox/testdata/conflicting-artifacts/conflicting-artifacts.qbs
@@ -0,0 +1,16 @@
+import qbs
+
+Project {
+ CppApplication {
+ name: "a"
+ targetName: "theName"
+ destinationDirectory: project.buildDirectory
+ files: ["main.cpp"]
+ }
+ CppApplication {
+ name: "b"
+ targetName: "theName"
+ destinationDirectory: project.buildDirectory
+ files: ["main.cpp"]
+ }
+}
diff --git a/tests/auto/blackbox/testdata/conflicting-artifacts/main.cpp b/tests/auto/blackbox/testdata/conflicting-artifacts/main.cpp
new file mode 100644
index 000000000..237c8ce18
--- /dev/null
+++ b/tests/auto/blackbox/testdata/conflicting-artifacts/main.cpp
@@ -0,0 +1 @@
+int main() {}