Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 33 lines 1.2 kB view raw
1diff --git a/installed-tests/meson.build b/installed-tests/meson.build 2index 5bc38bfd..02404c3a 100644 3--- a/installed-tests/meson.build 4+++ b/installed-tests/meson.build 5@@ -2,8 +2,8 @@ 6 # 7 # SPDX-License-Identifier: GPL-2.0-or-later 8 9-installed_tests_execdir = join_paths(libexecdir, 'installed-tests', meson.project_name()) 10-installed_tests_metadir = join_paths(datadir, 'installed-tests', meson.project_name()) 11+installed_tests_execdir = join_paths(get_option('installed_test_prefix'), 'libexec', 'installed-tests', meson.project_name()) 12+installed_tests_metadir = join_paths(get_option('installed_test_prefix'), 'share', 'installed-tests', meson.project_name()) 13 14 installed_tests_srcdir = meson.current_source_dir() 15 installed_tests_builddir = meson.current_build_dir() 16diff --git a/meson_options.txt b/meson_options.txt 17index 745c541c..b4b602ca 100644 18--- a/meson_options.txt 19+++ b/meson_options.txt 20@@ -104,6 +104,13 @@ option( 21 description: 'Native Messaging Host directory for Mozilla' 22 ) 23 24+option( 25+ 'installed_test_prefix', 26+ type: 'string', 27+ value: '', 28+ description: 'Prefix for installed tests' 29+) 30+ 31 option( 32 'installed_tests', 33 type: 'boolean',