aboutsummaryrefslogtreecommitdiff
path: root/test cases
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2019-12-11 21:00:46 -0500
committerXavier Claessens <xavier.claessens@collabora.com>2019-12-12 18:30:17 -0500
commit49082f96698fbb74b587ca774dae45b7b5943a16 (patch)
treec85a47d74c5f6e6ba7e0a7388c1479e6a8938ad4 /test cases
parent6e865a233099a00e9ea08f6a2f911ede3c7b4215 (diff)
downloadmeson-49082f96698fbb74b587ca774dae45b7b5943a16.zip
meson-49082f96698fbb74b587ca774dae45b7b5943a16.tar.gz
meson-49082f96698fbb74b587ca774dae45b7b5943a16.tar.bz2
summary: Allow section with no title, and passing key/value separately
Diffstat (limited to 'test cases')
-rw-r--r--test cases/unit/74 summary/meson.build6
-rw-r--r--test cases/unit/74 summary/subprojects/sub/meson.build3
2 files changed, 3 insertions, 6 deletions
diff --git a/test cases/unit/74 summary/meson.build b/test cases/unit/74 summary/meson.build
index 11f96d0..392d940 100644
--- a/test cases/unit/74 summary/meson.build
+++ b/test cases/unit/74 summary/meson.build
@@ -1,10 +1,5 @@
project('My Project', version : '1.0')
-summary('Directories', {'bindir': get_option('bindir'),
- 'libdir': get_option('libdir'),
- 'datadir': get_option('datadir'),
- })
-
subproject('sub')
subproject('sub2', required : false)
@@ -13,3 +8,4 @@ summary('Configuration', {'Some boolean': false,
'Some string': 'Hello World',
'A list': ['string', 1, true],
})
+summary('Configuration', 'A number', 1)
diff --git a/test cases/unit/74 summary/subprojects/sub/meson.build b/test cases/unit/74 summary/subprojects/sub/meson.build
index f47c7b7..e7d7833 100644
--- a/test cases/unit/74 summary/subprojects/sub/meson.build
+++ b/test cases/unit/74 summary/subprojects/sub/meson.build
@@ -1,3 +1,4 @@
project('Some Subproject', version : '2.0')
-summary('Features', {'foo': 'bar'})
+summary('string', 'bar')
+summary({'integer': 1, 'boolean': true})