aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/139 mesonintrospect from scripts/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/common/139 mesonintrospect from scripts/meson.build')
-rw-r--r--meson/test cases/common/139 mesonintrospect from scripts/meson.build14
1 files changed, 14 insertions, 0 deletions
diff --git a/meson/test cases/common/139 mesonintrospect from scripts/meson.build b/meson/test cases/common/139 mesonintrospect from scripts/meson.build
new file mode 100644
index 000000000..11176727d
--- /dev/null
+++ b/meson/test cases/common/139 mesonintrospect from scripts/meson.build
@@ -0,0 +1,14 @@
+project('mesonintrospect from scripts', 'c')
+
+python = import('python3').find_python()
+
+ret = run_command(python, ['check_env.py', '1'])
+if ret.returncode() == 0
+ find_program(ret.stdout())
+else
+ message(ret.stdout())
+ message(ret.stderr())
+endif
+
+meson.add_postconf_script('check_introspection.py')
+meson.add_install_script('check_env.py')