7cbac10661
GitOrigin-RevId: a371c1071161104d329f6a85d922fd92b7cbab63
30 lines
1.1 KiB
Diff
30 lines
1.1 KiB
Diff
diff --git a/installed-tests/meson.build b/installed-tests/meson.build
|
|
index c7eff2fb..ef4f6052 100644
|
|
--- a/installed-tests/meson.build
|
|
+++ b/installed-tests/meson.build
|
|
@@ -1,5 +1,5 @@
|
|
-installed_tests_execdir = join_paths(libexecdir, 'installed-tests', meson.project_name())
|
|
-installed_tests_metadir = join_paths(datadir, 'installed-tests', meson.project_name())
|
|
+installed_tests_execdir = join_paths(get_option('installed_test_prefix'), 'libexec', 'installed-tests', meson.project_name())
|
|
+installed_tests_metadir = join_paths(get_option('installed_test_prefix'), 'share', 'installed-tests', meson.project_name())
|
|
|
|
installed_tests_srcdir = meson.current_source_dir()
|
|
installed_tests_builddir = meson.current_build_dir()
|
|
diff --git a/meson_options.txt b/meson_options.txt
|
|
index 8912e052..ca6ee5eb 100644
|
|
--- a/meson_options.txt
|
|
+++ b/meson_options.txt
|
|
@@ -116,6 +116,13 @@ option(
|
|
description: 'Native Messaging Host directory for Mozilla'
|
|
)
|
|
|
|
+option(
|
|
+ 'installed_test_prefix',
|
|
+ type: 'string',
|
|
+ value: '',
|
|
+ description: 'Prefix for installed tests'
|
|
+)
|
|
+
|
|
option(
|
|
'installed_tests',
|
|
type: 'boolean',
|