summaryrefslogtreecommitdiff
path: root/test cases/unit/71 summary
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/unit/71 summary')
-rw-r--r--test cases/unit/71 summary/meson.build2
-rw-r--r--test cases/unit/71 summary/meson_options.txt1
2 files changed, 2 insertions, 1 deletions
diff --git a/test cases/unit/71 summary/meson.build b/test cases/unit/71 summary/meson.build
index ce97fb376..76fc545f4 100644
--- a/test cases/unit/71 summary/meson.build
+++ b/test cases/unit/71 summary/meson.build
@@ -11,7 +11,7 @@ summary({'Some boolean': false,
'enabled_opt': get_option('enabled_opt'),
}, section: 'Configuration')
summary({'missing prog': find_program('xyzzy', required: false),
- 'existing prog': import('python').find_installation(),
+ 'existing prog': find_program(get_option('python')).full_path(),
'missing dep': dependency('', required: false),
'external dep': dependency('zlib', required: false),
'internal dep': declare_dependency(),
diff --git a/test cases/unit/71 summary/meson_options.txt b/test cases/unit/71 summary/meson_options.txt
index 281c3b672..cf3f32c90 100644
--- a/test cases/unit/71 summary/meson_options.txt
+++ b/test cases/unit/71 summary/meson_options.txt
@@ -1 +1,2 @@
option('enabled_opt', type: 'feature', value: 'auto')
+option('python', type: 'string')