diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-22 14:44:10 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-22 14:44:10 +0100 |
commit | 63627de4936707c40b5c4dca4f23e9fe1e9c4837 (patch) | |
tree | 0882ba9f0e330ae7e1f2f3306a6683000060355d /sys-apps/fwupd/files | |
parent | 940cec7afea0fff03b206c62a512335e6f9d2d00 (diff) |
gentoo auto-resync : 22:10:2023 - 14:44:09
Diffstat (limited to 'sys-apps/fwupd/files')
-rw-r--r-- | sys-apps/fwupd/files/fwupd-1.9.6-fragile_tests.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/sys-apps/fwupd/files/fwupd-1.9.6-fragile_tests.patch b/sys-apps/fwupd/files/fwupd-1.9.6-fragile_tests.patch new file mode 100644 index 000000000000..cc40dc7c9e01 --- /dev/null +++ b/sys-apps/fwupd/files/fwupd-1.9.6-fragile_tests.patch @@ -0,0 +1,28 @@ +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 +@@ -457,6 +457,11 @@ + 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', +--- 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()) |