aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/unit/4 suite selection/subprojects/subprjmix
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/unit/4 suite selection/subprojects/subprjmix')
-rw-r--r--meson/test cases/unit/4 suite selection/subprojects/subprjmix/failing_test.c1
-rw-r--r--meson/test cases/unit/4 suite selection/subprojects/subprjmix/meson.build9
-rw-r--r--meson/test cases/unit/4 suite selection/subprojects/subprjmix/successful_test.c1
3 files changed, 11 insertions, 0 deletions
diff --git a/meson/test cases/unit/4 suite selection/subprojects/subprjmix/failing_test.c b/meson/test cases/unit/4 suite selection/subprojects/subprjmix/failing_test.c
new file mode 100644
index 000000000..393344d05
--- /dev/null
+++ b/meson/test cases/unit/4 suite selection/subprojects/subprjmix/failing_test.c
@@ -0,0 +1 @@
+int main(void) { return -1 ; }
diff --git a/meson/test cases/unit/4 suite selection/subprojects/subprjmix/meson.build b/meson/test cases/unit/4 suite selection/subprojects/subprjmix/meson.build
new file mode 100644
index 000000000..1d0eeff2e
--- /dev/null
+++ b/meson/test cases/unit/4 suite selection/subprojects/subprjmix/meson.build
@@ -0,0 +1,9 @@
+project('subprjmix', 'c')
+
+test('subprjmix-failing_test',
+ executable('failing_test', 'failing_test.c'),
+ suite : 'fail')
+
+test('subprjmix-successful_test',
+ executable('successful_test', 'successful_test.c'),
+ suite : 'success')
diff --git a/meson/test cases/unit/4 suite selection/subprojects/subprjmix/successful_test.c b/meson/test cases/unit/4 suite selection/subprojects/subprjmix/successful_test.c
new file mode 100644
index 000000000..8842fc122
--- /dev/null
+++ b/meson/test cases/unit/4 suite selection/subprojects/subprjmix/successful_test.c
@@ -0,0 +1 @@
+int main(void) { return 0 ; }