test cases/common/139 mesonintrospect from scripts/meson.build
raw| 1 | project('mesonintrospect from scripts') |
| 2 | |
| 3 | python = import('python3').find_python() |
| 4 | |
| 5 | ret = run_command(python, ['check_env.py', '1'], check: false) |
| 6 | if ret.returncode() == 0 |
| 7 | find_program(ret.stdout()) |
| 8 | else |
| 9 | message(ret.stdout()) |
| 10 | message(ret.stderr()) |
| 11 | endif |
| 12 | |
| 13 | meson.add_postconf_script('check_introspection.py') |
| 14 | meson.add_install_script('check_env.py') |