Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1diff --git a/meson_options.txt b/meson_options.txt 2index c1b1da1..9b76022 100644 3--- a/meson_options.txt 4+++ b/meson_options.txt 5@@ -4,3 +4,4 @@ 6 option('vapi', type : 'boolean', value : true, description: 'generate Vala bindings (requires introspection)') 7 option('tests', type : 'boolean', value : true, description : 'enable tests') 8 option('installed_tests', type : 'boolean', value : false, description : 'install tests for "as-installed" testing') 9+option('installed_test_prefix', type: 'string', value: '', description: 'Prefix for installed tests') 10diff --git a/tests/meson.build b/tests/meson.build 11index 1e46e2a..aa780d0 100644 12--- a/tests/meson.build 13+++ b/tests/meson.build 14@@ -1,5 +1,5 @@ 15-installed_tests_metadir = join_paths(get_option('datadir'), 'installed-tests', 'libgcab-1.0') 16-installed_tests_execdir = join_paths(get_option('libexecdir'), 'installed-tests', 'libgcab-1.0') 17+installed_tests_metadir = join_paths(get_option('installed_test_prefix'), 'share', 'installed-tests', 'libgcab-1.0') 18+installed_tests_execdir = join_paths(get_option('installed_test_prefix'), 'libexec', 'installed-tests', 'libgcab-1.0') 19 installed_tests_enabled = get_option('installed_tests') 20 installed_tests_template_tap = files('template-tap.test.in') 21 abs_installed_tests_execdir = join_paths(get_option('prefix'), installed_tests_execdir)