Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 26 lines 1.1 kB view raw
1diff --git a/geocode-glib/tests/meson.build b/geocode-glib/tests/meson.build 2index 5cd1fca..c2f9a9d 100644 3--- a/geocode-glib/tests/meson.build 4+++ b/geocode-glib/tests/meson.build 5@@ -1,5 +1,5 @@ 6-install_dir = get_option('prefix') / get_option('datadir') / 'installed-tests' / library_name 7-install_bindir = get_option('prefix') / get_option('libexecdir') / library_name 8+install_dir = get_option('installed_test_prefix') / 'share' / 'installed-tests' / library_name 9+install_bindir = get_option('installed_test_prefix') / 'libexec' / library_name 10 11 e = executable('geo-uri', 12 'geo-uri.c', 13diff --git a/meson_options.txt b/meson_options.txt 14index 62b713d..1454416 100644 15--- a/meson_options.txt 16+++ b/meson_options.txt 17@@ -1,6 +1,9 @@ 18 option('enable-installed-tests', 19 type: 'boolean', value: true, 20 description: 'Build & install test programs') 21+option('installed_test_prefix', 22+ type: 'string', value: '', 23+ description: 'Prefix for installed tests') 24 option('enable-introspection', 25 type: 'boolean', value: true, 26 description: 'Whether to enable the introspection generation')