diff --git a/libgimp/tests/meson.build b/libgimp/tests/meson.build index df2df54b82..868945b596 100644 --- a/libgimp/tests/meson.build +++ b/libgimp/tests/meson.build @@ -52,7 +52,7 @@ foreach test_name : tests custom_target(basename + '.dummy', input: [ c_test_exe ], output: [ basename + '.dummy' ], - command: [ python, meson.project_source_root() / 'build/meson/cp-plug-in-subfolder.py', + command: [ python, meson.project_source_root() / 'tools/cp-plug-in-subfolder.py', c_test_exe, meson.current_build_dir() / 'c-tests' / basename, '@OUTPUT@' ], build_by_default: true, diff --git a/meson.build b/meson.build index 83a29d1dfc..a910d7e077 100644 --- a/meson.build +++ b/meson.build @@ -1239,7 +1239,7 @@ dbus_run_session = find_program('dbus-run-session', required: get_option('headle if xvfb_run.found() and dbus_run_session.found() conf.set('HAVE_XVFB_RUN', true) add_test_setup('headless', - exe_wrapper: find_program('build' / 'meson' / 'run_test_env.sh'), + exe_wrapper: find_program('tools' / 'run_test_env.sh'), is_default: true, ) endif @@ -1724,7 +1724,7 @@ if is_git_repository endif if git.found() - git_submodule_check = run_command(meson.project_source_root() / 'build/meson/check-gimp-data.py', + git_submodule_check = run_command(meson.project_source_root() / 'tools/check-gimp-data.py', check: false) if git_submodule_check.returncode() != 0 submodule_warning = 'gimp-data submodule seems outdated. Possibly run from the source repository: git submodule update' diff --git a/plug-ins/common/meson.build b/plug-ins/common/meson.build index 30cc22ecc3..ea42db2b96 100644 --- a/plug-ins/common/meson.build +++ b/plug-ins/common/meson.build @@ -250,7 +250,7 @@ foreach plugin : common_plugins_list plugin_custom_targets += custom_target('test-' + plugin_name, input: [ plugin_exe ], output: [ plugin_name + '.dummy' ], - command: [ python, meson.project_source_root() / 'build/meson/cp-plug-in-subfolder.py', + command: [ python, meson.project_source_root() / 'tools/cp-plug-in-subfolder.py', plugin_exe, meson.current_build_dir() / 'test-plug-ins' / plugin_name, '@OUTPUT@' ], build_by_default: true) diff --git a/plug-ins/python/meson.build b/plug-ins/python/meson.build index c2c460cb5f..a417bb890c 100644 --- a/plug-ins/python/meson.build +++ b/plug-ins/python/meson.build @@ -32,7 +32,7 @@ foreach plugin : python_plugins # from the build directory without installing it. # To be run even if we don't install Python plug-ins so that we can # still run them for in-build scripts. - run_command(python, meson.project_source_root() / 'build/meson/cp-plug-in-subfolder.py', + run_command(python, meson.project_source_root() / 'tools/cp-plug-in-subfolder.py', meson.current_source_dir() / src, meson.current_build_dir() / name, check: true) endforeach endforeach diff --git a/build/meson/check-gimp-data.py b/tools/check-gimp-data.py similarity index 100% rename from build/meson/check-gimp-data.py rename to tools/check-gimp-data.py diff --git a/build/meson/cp-plug-in-subfolder.py b/tools/cp-plug-in-subfolder.py similarity index 100% rename from build/meson/cp-plug-in-subfolder.py rename to tools/cp-plug-in-subfolder.py diff --git a/build/meson/run_test_env.sh b/tools/run_test_env.sh similarity index 100% rename from build/meson/run_test_env.sh rename to tools/run_test_env.sh