python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / glib-testing / installed-tests-path.patch
blob37ee2a9888997cfc9b9a98a84ba403d5e19050ff
1 diff --git a/libglib-testing/tests/meson.build b/libglib-testing/tests/meson.build
2 index 4789c63..2b8525d 100644
3 --- a/libglib-testing/tests/meson.build
4 +++ b/libglib-testing/tests/meson.build
5 @@ -15,9 +15,9 @@ test_programs = [
6 ['signal-logger', [], deps],
9 -installed_tests_metadir = join_paths(datadir, 'installed-tests',
10 +installed_tests_metadir = join_paths(get_option('installed_test_prefix'), 'share', 'installed-tests',
11 'libglib-testing-' + libglib_testing_api_version)
12 -installed_tests_execdir = join_paths(libexecdir, 'installed-tests',
13 +installed_tests_execdir = join_paths(get_option('installed_test_prefix'), 'libexec', 'installed-tests',
14 'libglib-testing-' + libglib_testing_api_version)
16 foreach program: test_programs
17 @@ -48,4 +48,4 @@ foreach program: test_programs
18 exe,
19 env: envs,
21 -endforeach
22 \ No newline at end of file
23 +endforeach
24 diff --git a/meson_options.txt b/meson_options.txt
25 index e69263e..7cb1ee8 100644
26 --- a/meson_options.txt
27 +++ b/meson_options.txt
28 @@ -4,3 +4,4 @@ option(
29 value: false,
30 description: 'enable installed tests'
32 +option('installed_test_prefix', type: 'string', value: '', description: 'Prefix for installed tests')