aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata/new-output-artifact-in-dependency
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@digia.com>2014-08-05 11:14:26 +0200
committerChristian Kandeler <christian.kandeler@digia.com>2014-08-06 11:27:03 +0200
commitfed87ed2e20632bc694c394cf44a30186f286cec (patch)
tree88f7093b86f48e3bb3fd3b658d88a7bea7128273 /tests/auto/blackbox/testdata/new-output-artifact-in-dependency
parent902fb4b96a60d947bb6fd5ee5aa4bdb4f30ee0cb (diff)
Add autotest for QBS-559.
This bug was fixed somewhat accidentally, so make sure it can't creep back in. Task-number: QBS-559 Change-Id: I3f85676f77cbc50b67f226810137860a7733fc6b Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'tests/auto/blackbox/testdata/new-output-artifact-in-dependency')
-rw-r--r--tests/auto/blackbox/testdata/new-output-artifact-in-dependency/lib.cpp1
-rw-r--r--tests/auto/blackbox/testdata/new-output-artifact-in-dependency/main.cpp6
-rw-r--r--tests/auto/blackbox/testdata/new-output-artifact-in-dependency/project.qbs15
3 files changed, 22 insertions, 0 deletions
diff --git a/tests/auto/blackbox/testdata/new-output-artifact-in-dependency/lib.cpp b/tests/auto/blackbox/testdata/new-output-artifact-in-dependency/lib.cpp
new file mode 100644
index 000000000..56757a701
--- /dev/null
+++ b/tests/auto/blackbox/testdata/new-output-artifact-in-dependency/lib.cpp
@@ -0,0 +1 @@
+void f() {}
diff --git a/tests/auto/blackbox/testdata/new-output-artifact-in-dependency/main.cpp b/tests/auto/blackbox/testdata/new-output-artifact-in-dependency/main.cpp
new file mode 100644
index 000000000..b44adf42f
--- /dev/null
+++ b/tests/auto/blackbox/testdata/new-output-artifact-in-dependency/main.cpp
@@ -0,0 +1,6 @@
+//void f();
+
+int main()
+{
+// f();
+}
diff --git a/tests/auto/blackbox/testdata/new-output-artifact-in-dependency/project.qbs b/tests/auto/blackbox/testdata/new-output-artifact-in-dependency/project.qbs
new file mode 100644
index 000000000..1e324fd89
--- /dev/null
+++ b/tests/auto/blackbox/testdata/new-output-artifact-in-dependency/project.qbs
@@ -0,0 +1,15 @@
+import qbs
+
+Project {
+ DynamicLibrary {
+ //Depends { name: "cpp" }
+ name: "lib"
+ files: "lib.cpp"
+ }
+
+ CppApplication {
+ name: "app"
+ files: "main.cpp"
+ Depends { name: "lib" }
+ }
+}