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.
This commit is contained in:
Daan De Meyer
2025-04-08 11:00:20 +02:00
parent 442d8c3f06
commit a0ce5e642f
2 changed files with 10 additions and 0 deletions

View File

@@ -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')