summaryrefslogtreecommitdiff
path: root/test cases
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2021-09-07 18:56:17 +0200
committerXavier Claessens <xclaesse@gmail.com>2021-09-07 14:18:58 -0400
commit0fcd696b1e0c6ff9ca462ac2f8e0d497bf11e2c5 (patch)
treeb33a5861c307a14ba2395f3d8b73f8109c037dea /test cases
parent516c871beca90caa2a1433579e6450f5a6c65817 (diff)
downloadmeson-0fcd696b1e0c6ff9ca462ac2f8e0d497bf11e2c5.tar.gz
unittests: test external dependency in summary
This requires a bit of extra code because the version might change, but otherwise it fits in the existing AllPlatformTests.test_summary testcase Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'test cases')
-rw-r--r--test cases/unit/72 summary/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/test cases/unit/72 summary/meson.build b/test cases/unit/72 summary/meson.build
index 4205d6fff..6e0f69ad3 100644
--- a/test cases/unit/72 summary/meson.build
+++ b/test cases/unit/72 summary/meson.build
@@ -13,6 +13,7 @@ summary({'Some boolean': false,
summary({'missing prog': find_program('xyzzy', required: false),
'existing prog': import('python').find_installation(),
'missing dep': dependency('', required: false),
+ 'external dep': dependency('zlib', required: false),
'internal dep': declare_dependency(),
}, section: 'Stuff')
summary('A number', 1, section: 'Configuration')