aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/unit/72 summary/subprojects
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/unit/72 summary/subprojects')
-rw-r--r--meson/test cases/unit/72 summary/subprojects/sub/meson.build4
-rw-r--r--meson/test cases/unit/72 summary/subprojects/sub2/meson.build6
-rw-r--r--meson/test cases/unit/72 summary/subprojects/sub2/subprojects/subsub/meson.build3
3 files changed, 13 insertions, 0 deletions
diff --git a/meson/test cases/unit/72 summary/subprojects/sub/meson.build b/meson/test cases/unit/72 summary/subprojects/sub/meson.build
new file mode 100644
index 000000000..e7d783384
--- /dev/null
+++ b/meson/test cases/unit/72 summary/subprojects/sub/meson.build
@@ -0,0 +1,4 @@
+project('Some Subproject', version : '2.0')
+
+summary('string', 'bar')
+summary({'integer': 1, 'boolean': true})
diff --git a/meson/test cases/unit/72 summary/subprojects/sub2/meson.build b/meson/test cases/unit/72 summary/subprojects/sub2/meson.build
new file mode 100644
index 000000000..2560bd05d
--- /dev/null
+++ b/meson/test cases/unit/72 summary/subprojects/sub2/meson.build
@@ -0,0 +1,6 @@
+project('sub2')
+
+subproject('subsub')
+
+summary('Section', 'Should not be seen')
+error('This subproject failed')
diff --git a/meson/test cases/unit/72 summary/subprojects/sub2/subprojects/subsub/meson.build b/meson/test cases/unit/72 summary/subprojects/sub2/subprojects/subsub/meson.build
new file mode 100644
index 000000000..98a5a269d
--- /dev/null
+++ b/meson/test cases/unit/72 summary/subprojects/sub2/subprojects/subsub/meson.build
@@ -0,0 +1,3 @@
+project('subsub')
+
+summary('Something', 'Some value')