From 49082f96698fbb74b587ca774dae45b7b5943a16 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Wed, 11 Dec 2019 21:00:46 -0500 Subject: summary: Allow section with no title, and passing key/value separately --- test cases/unit/74 summary/meson.build | 6 +----- test cases/unit/74 summary/subprojects/sub/meson.build | 3 ++- 2 files changed, 3 insertions(+), 6 deletions(-) (limited to 'test cases') 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}) -- cgit v1.1