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>
This commit is contained in:
Mike Gilbert
2022-03-31 17:24:43 -04:00
parent c8db730bc3
commit 51cdff93cf
2 changed files with 6 additions and 0 deletions

View File

@@ -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
}

View File

@@ -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