summaryrefslogtreecommitdiffstats
path: root/test cases/common/139 mesonintrospect from scripts/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/common/139 mesonintrospect from scripts/meson.build')
-rw-r--r--test cases/common/139 mesonintrospect from scripts/meson.build14
1 files changed, 14 insertions, 0 deletions
diff --git a/test cases/common/139 mesonintrospect from scripts/meson.build b/test cases/common/139 mesonintrospect from scripts/meson.build
new file mode 100644
index 0000000..7db4be4
--- /dev/null
+++ b/test cases/common/139 mesonintrospect from scripts/meson.build
@@ -0,0 +1,14 @@
+project('mesonintrospect from scripts')
+
+python = import('python3').find_python()
+
+ret = run_command(python, ['check_env.py', '1'], check: false)
+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')