From: Daan De Meyer Date: Tue, 8 Apr 2025 09:00:20 +0000 (+0200) Subject: test: Install files required to run integration tests standalone X-Git-Tag: v258-rc1~868 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a0ce5e642ff4fcfcd7da25a585bfbd83b5737235;p=thirdparty%2Fsystemd.git test: Install files required to run integration tests standalone Let's make it possible to run the integration tests without requiring the sources by installing the mkosi and integration-tests directories. --- diff --git a/meson.build b/meson.build index 6fe36bc65be..2dc16b37adb 100644 --- a/meson.build +++ b/meson.build @@ -2692,6 +2692,13 @@ if mkosi.found() ) endif +if install_tests + install_subdir('mkosi', + install_dir : testsdir, + exclude_files : ['mkosi.local.conf', 'mkosi.key', 'mkosi.crt'], + exclude_directories : ['mkosi.local']) +endif + ############################################################ subdir('rules.d') diff --git a/test/meson.build b/test/meson.build index 68bffdb282f..62d28124421 100644 --- a/test/meson.build +++ b/test/meson.build @@ -282,6 +282,9 @@ if want_tests != 'false' endif if install_tests + install_subdir('integration-tests', + install_dir : testsdir) + foreach integration_test : integration_tests integration_test_unit_env = [] integration_test_extra_unit_properties = []