mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user