diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-05-05 17:31:39 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-05-05 17:31:39 +0100 |
commit | 8b5a92f1e1eccecfa61db8a4744e1b9d449522b6 (patch) | |
tree | 427b7c54371dc36d63e7fa3590ec577ad265eac9 /net-libs/libpsl/files/libpsl-0.21.2-tests-optional.patch | |
parent | 3023707d355581e5dc6945aa9c8f4d59e508a8b5 (diff) |
gentoo auto-resync : 05:05:2023 - 17:31:39
Diffstat (limited to 'net-libs/libpsl/files/libpsl-0.21.2-tests-optional.patch')
-rw-r--r-- | net-libs/libpsl/files/libpsl-0.21.2-tests-optional.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/net-libs/libpsl/files/libpsl-0.21.2-tests-optional.patch b/net-libs/libpsl/files/libpsl-0.21.2-tests-optional.patch new file mode 100644 index 000000000000..0f5773d75739 --- /dev/null +++ b/net-libs/libpsl/files/libpsl-0.21.2-tests-optional.patch @@ -0,0 +1,39 @@ +https://github.com/rockdaboot/libpsl/commit/fb6b75317ab669c255906fa4db256837332eb1ed + +From fb6b75317ab669c255906fa4db256837332eb1ed Mon Sep 17 00:00:00 2001 +From: Vincent Torri <vtorri@outlook.fr> +Date: Sat, 14 Jan 2023 17:25:31 +0100 +Subject: [PATCH] add 'tests' option to disable tests and fuzzers + +--- + meson.build | 6 ++++-- + meson_options.txt | 3 +++ + 2 files changed, 7 insertions(+), 2 deletions(-) + +diff --git a/meson.build b/meson.build +index d96748d..4492354 100644 +--- a/meson.build ++++ b/meson.build +@@ -132,6 +132,8 @@ endif + subdir('include') + subdir('src') + subdir('tools') +-subdir('tests') +-subdir('fuzz') ++if get_option('tests') ++ subdir('tests') ++ subdir('fuzz') ++endif + subdir(join_paths('docs', 'libpsl')) +diff --git a/meson_options.txt b/meson_options.txt +index e9d6a23..d66f256 100644 +--- a/meson_options.txt ++++ b/meson_options.txt +@@ -17,3 +17,6 @@ option('psl_testfile', type : 'string', value : '', + + option('docs', type: 'boolean', value: false, + description: 'Build the API reference (requires gtk-doc)') ++ ++option('tests', type: 'boolean', value: true, ++ description: 'Build the tests and fuzzers') + |