summaryrefslogtreecommitdiffstats
path: root/test cases/common/93 suites/subprojects
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/common/93 suites/subprojects')
-rw-r--r--test cases/common/93 suites/subprojects/sub/meson.build7
-rw-r--r--test cases/common/93 suites/subprojects/sub/sub1.c6
-rw-r--r--test cases/common/93 suites/subprojects/sub/sub2.c6
3 files changed, 19 insertions, 0 deletions
diff --git a/test cases/common/93 suites/subprojects/sub/meson.build b/test cases/common/93 suites/subprojects/sub/meson.build
new file mode 100644
index 0000000..697d95f
--- /dev/null
+++ b/test cases/common/93 suites/subprojects/sub/meson.build
@@ -0,0 +1,7 @@
+project('subproject test suites', 'c')
+
+sub1 = executable('sub1', 'sub1.c')
+sub2 = executable('sub2', 'sub2.c')
+
+test('sub1', sub1)
+test('sub2', sub2, suite : 'suite2')
diff --git a/test cases/common/93 suites/subprojects/sub/sub1.c b/test cases/common/93 suites/subprojects/sub/sub1.c
new file mode 100644
index 0000000..e067624
--- /dev/null
+++ b/test cases/common/93 suites/subprojects/sub/sub1.c
@@ -0,0 +1,6 @@
+#include<stdio.h>
+
+int main(void) {
+ printf("I am test sub1.\n");
+ return 0;
+}
diff --git a/test cases/common/93 suites/subprojects/sub/sub2.c b/test cases/common/93 suites/subprojects/sub/sub2.c
new file mode 100644
index 0000000..0b457dc
--- /dev/null
+++ b/test cases/common/93 suites/subprojects/sub/sub2.c
@@ -0,0 +1,6 @@
+#include<stdio.h>
+
+int main(void) {
+ printf("I am test sub2.\n");
+ return 0;
+}