aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata/new-output-artifact-in-dependency
diff options
context:
space:
mode:
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" }
+ }
+}