diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-25 15:54:35 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-25 15:54:35 +0100 |
commit | d0bb3151c569ab6e40c84c177f43bff3c7ce4780 (patch) | |
tree | 0c543a2f299a437229bcd5db5c62697a41243689 /sys-apps/fwupd/files | |
parent | 601320c16301dbd7e8830e8c2ab7d6aef5b65abe (diff) |
gentoo auto-resync : 25:08:2023 - 15:54:35
Diffstat (limited to 'sys-apps/fwupd/files')
-rw-r--r-- | sys-apps/fwupd/files/fwupd-1.9.4-fragile_tests.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/sys-apps/fwupd/files/fwupd-1.9.4-fragile_tests.patch b/sys-apps/fwupd/files/fwupd-1.9.4-fragile_tests.patch new file mode 100644 index 000000000000..95105177499b --- /dev/null +++ b/sys-apps/fwupd/files/fwupd-1.9.4-fragile_tests.patch @@ -0,0 +1,24 @@ +umockdev-based tests appear not to play nicely with the sandbox, +often they work but on some systems they persistently fail. + +--- a/meson_options.txt ++++ b/meson_options.txt +@@ -60,6 +60,7 @@ + option('systemd_root_prefix', type: 'string', value: '', description: 'Directory to base systemd’s installation directories on') + option('elogind', type : 'feature', description : 'elogind support', deprecated: {'true': 'enabled', 'false': 'disabled'}) + option('tests', type : 'boolean', value : true, description : 'enable tests') ++option('test-full', type : 'boolean', value : false, description : 'enable tests known to be fragile when called from Gentoo ebuilds') + option('curl', type : 'feature', description : 'libcurl support', deprecated: {'true': 'enabled', 'false': 'disabled'}) + option('udevdir', type: 'string', value: '', description: 'Directory for udev rules') + option('efi_os_dir', type: 'string', description : 'the hardcoded name of OS directory in ESP, e.g. fedora') +--- a/plugins/thunderbolt/meson.build ++++ b/plugins/thunderbolt/meson.build +@@ -19,7 +19,7 @@ + plugin_builtins += plugin_builtin_thunderbolt + + # we use functions from 2.52 in the tests +-if get_option('tests') and run_sanitize_unsafe_tests and umockdev.found() and gio.version().version_compare('>= 2.52') ++if get_option('tests') and get_option('test-full') and run_sanitize_unsafe_tests and umockdev.found() and gio.version().version_compare('>= 2.52') + env = environment() + env.set('G_TEST_SRCDIR', meson.current_source_dir()) + env.set('G_TEST_BUILDDIR', meson.current_build_dir()) |