aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata/autotests/test3
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/blackbox/testdata/autotests/test3')
-rw-r--r--tests/auto/blackbox/testdata/autotests/test3/test3.cpp9
-rw-r--r--tests/auto/blackbox/testdata/autotests/test3/test3.qbs11
2 files changed, 20 insertions, 0 deletions
diff --git a/tests/auto/blackbox/testdata/autotests/test3/test3.cpp b/tests/auto/blackbox/testdata/autotests/test3/test3.cpp
new file mode 100644
index 000000000..2ce7e2bf6
--- /dev/null
+++ b/tests/auto/blackbox/testdata/autotests/test3/test3.cpp
@@ -0,0 +1,9 @@
+#include <cstdlib>
+#include <iostream>
+
+int main()
+{
+ std::cerr << "I am an awful test";
+ std::cerr << "FAIL" << std::endl;
+ return EXIT_FAILURE;
+}
diff --git a/tests/auto/blackbox/testdata/autotests/test3/test3.qbs b/tests/auto/blackbox/testdata/autotests/test3/test3.qbs
new file mode 100644
index 000000000..3c7b734e3
--- /dev/null
+++ b/tests/auto/blackbox/testdata/autotests/test3/test3.qbs
@@ -0,0 +1,11 @@
+import qbs
+
+CppApplication {
+ name: "test3"
+ type: base.concat("autotest")
+
+ Depends { name: "autotest" }
+ autotest.allowFailure: true
+
+ files: "test3.cpp"
+}