.gitlab: Move cp-plug-in-subfolder.py to build/meson

It is not a CI-specific file.
This commit is contained in:
Bruno Lopes 2025-04-17 17:15:24 -03:00
parent 9989dfe933
commit 00ab5e3a19
No known key found for this signature in database
4 changed files with 3 additions and 3 deletions

View file

@ -52,7 +52,7 @@ foreach test_name : tests
custom_target(basename + '.dummy', custom_target(basename + '.dummy',
input: [ c_test_exe ], input: [ c_test_exe ],
output: [ basename + '.dummy' ], output: [ basename + '.dummy' ],
command: [ python, meson.project_source_root() / '.gitlab/cp-plug-in-subfolder.py', command: [ python, meson.project_source_root() / 'build/meson/cp-plug-in-subfolder.py',
c_test_exe, meson.current_build_dir() / 'c-tests' / basename, c_test_exe, meson.current_build_dir() / 'c-tests' / basename,
'@OUTPUT@' ], '@OUTPUT@' ],
build_by_default: true, build_by_default: true,

View file

@ -245,7 +245,7 @@ foreach plugin : common_plugins_list
custom_target('test-' + plugin_name, custom_target('test-' + plugin_name,
input: [ plugin_exe ], input: [ plugin_exe ],
output: [ plugin_name + '.dummy' ], output: [ plugin_name + '.dummy' ],
command: [ python, meson.project_source_root() / '.gitlab/cp-plug-in-subfolder.py', command: [ python, meson.project_source_root() / 'build/meson/cp-plug-in-subfolder.py',
plugin_exe, meson.current_build_dir() / 'test-plug-ins' / plugin_name, plugin_exe, meson.current_build_dir() / 'test-plug-ins' / plugin_name,
'@OUTPUT@' ], '@OUTPUT@' ],
build_by_default: true) build_by_default: true)

View file

@ -32,7 +32,7 @@ foreach plugin : plugins
# from the build directory without installing it. # from the build directory without installing it.
# To be run even if we don't install Python plug-ins so that we can # To be run even if we don't install Python plug-ins so that we can
# still run them for in-build scripts. # still run them for in-build scripts.
run_command(python, meson.project_source_root() / '.gitlab/cp-plug-in-subfolder.py', run_command(python, meson.project_source_root() / 'build/meson/cp-plug-in-subfolder.py',
meson.current_source_dir() / src, meson.current_build_dir() / name, check: true) meson.current_source_dir() / src, meson.current_build_dir() / name, check: true)
endforeach endforeach
endforeach endforeach