diff options
Diffstat (limited to 'meson/test cases/python/5 modules kwarg')
-rw-r--r-- | meson/test cases/python/5 modules kwarg/meson.build | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meson/test cases/python/5 modules kwarg/meson.build b/meson/test cases/python/5 modules kwarg/meson.build new file mode 100644 index 000000000..9751adaab --- /dev/null +++ b/meson/test cases/python/5 modules kwarg/meson.build @@ -0,0 +1,7 @@ +project('python kwarg') + +py = import('python') +prog_python = py.find_installation('python3', modules : ['distutils']) +assert(prog_python.found() == true, 'python not found when should be') +prog_python = py.find_installation('python3', modules : ['thisbetternotexistmod'], required : false) +assert(prog_python.found() == false, 'python not found but reported as found') |