1 diff --git i/tests/meson.build w/tests/meson.build
2 index 0a6a355..0120c29 100644
3 --- i/tests/meson.build
4 +++ w/tests/meson.build
5 @@ -67,7 +67,9 @@ src_build_path = meson.current_build_dir() / '../src'
7 if build_gir and host_system == 'linux' and not meson.is_cross_build()
8 foreach unit: ['introspection.py']
9 - install_data(unit, install_dir: installed_test_bindir)
10 + if get_option('installed_tests')
11 + install_data(unit, install_dir: installed_test_bindir)
14 wrapper = '@0@.test'.format(unit)
15 custom_target(wrapper,