diff options
author | Mike Gilbert <floppym@gentoo.org> | 2022-03-31 17:24:43 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2022-03-31 17:25:19 -0400 |
commit | 51cdff93cfe4206c60e7d595d75b177762b30f50 (patch) | |
tree | e334ae0f0c08492c2cc06fdfe744815fdebd6ad3 /sys-apps/dbus | |
parent | dev-python/pillow: Stabilize 9.0.1-r1 ppc64, #835236 (diff) | |
download | gentoo-51cdff93cfe4206c60e7d595d75b177762b30f50.tar.gz gentoo-51cdff93cfe4206c60e7d595d75b177762b30f50.tar.bz2 gentoo-51cdff93cfe4206c60e7d595d75b177762b30f50.zip |
sys-apps/dbus: addwrite /proc/self/oom_score_adj for tests
Closes: https://bugs.gentoo.org/836560
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-apps/dbus')
-rw-r--r-- | sys-apps/dbus/dbus-1.12.22.ebuild | 3 | ||||
-rw-r--r-- | sys-apps/dbus/dbus-1.14.0.ebuild | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/sys-apps/dbus/dbus-1.12.22.ebuild b/sys-apps/dbus/dbus-1.12.22.ebuild index 1caf4c88cc06..f4d09190728e 100644 --- a/sys-apps/dbus/dbus-1.12.22.ebuild +++ b/sys-apps/dbus/dbus-1.12.22.ebuild @@ -207,6 +207,9 @@ multilib_src_compile() { } src_test() { + # https://bugs.gentoo.org/836560 + addwrite /proc/self/oom_score_adj + DBUS_VERBOSE=1 virtx emake -j1 -C "${TBD}" check } diff --git a/sys-apps/dbus/dbus-1.14.0.ebuild b/sys-apps/dbus/dbus-1.14.0.ebuild index fa70a989b3d6..07da8e03b737 100644 --- a/sys-apps/dbus/dbus-1.14.0.ebuild +++ b/sys-apps/dbus/dbus-1.14.0.ebuild @@ -207,6 +207,9 @@ multilib_src_compile() { } src_test() { + # https://bugs.gentoo.org/836560 + addwrite /proc/self/oom_score_adj + # DBUS_TEST_MALLOC_FAILURES=0 to avoid huge test logs # https://gitlab.freedesktop.org/dbus/dbus/-/blob/master/CONTRIBUTING.md#L231 DBUS_TEST_MALLOC_FAILURES=0 DBUS_VERBOSE=1 virtx emake -j1 -C "${TBD}" check |