diff options
author | Mike Gilbert <floppym@gentoo.org> | 2024-06-17 14:27:34 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2024-06-17 14:27:34 -0400 |
commit | 6b72995b011025251afeb92030e825c05d92e815 (patch) | |
tree | bf75d071af8816aaec45964bd888a425d8edea7f /sys-process/procps | |
parent | dev-lisp/cl-ppcre-unicode: add 2.1.2 (diff) | |
download | gentoo-6b72995b011025251afeb92030e825c05d92e815.tar.gz gentoo-6b72995b011025251afeb92030e825c05d92e815.tar.bz2 gentoo-6b72995b011025251afeb92030e825c05d92e815.zip |
sys-process/procps: skip tests under SCHED_IDLE
Closes: https://bugs.gentoo.org/708230
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-process/procps')
-rw-r--r-- | sys-process/procps/procps-4.0.4-r1.ebuild | 10 | ||||
-rw-r--r-- | sys-process/procps/procps-4.0.4.ebuild | 10 |
2 files changed, 16 insertions, 4 deletions
diff --git a/sys-process/procps/procps-4.0.4-r1.ebuild b/sys-process/procps/procps-4.0.4-r1.ebuild index 80238261ee8b..71e23c96f225 100644 --- a/sys-process/procps/procps-4.0.4-r1.ebuild +++ b/sys-process/procps/procps-4.0.4-r1.ebuild @@ -88,8 +88,14 @@ multilib_src_configure() { } multilib_src_test() { - # bug #461302 - emake check </dev/null + local ps="${BUILD_DIR}/src/ps/pscommand" + if [[ $("${ps}" --no-headers -o cls -q $$) == IDL ]]; then + # bug 708230 + ewarn "Skipping tests due to SCHED_IDLE" + else + # bug #461302 + emake check </dev/null + fi } multilib_src_install() { diff --git a/sys-process/procps/procps-4.0.4.ebuild b/sys-process/procps/procps-4.0.4.ebuild index f999ffa46052..9aa19e37cf53 100644 --- a/sys-process/procps/procps-4.0.4.ebuild +++ b/sys-process/procps/procps-4.0.4.ebuild @@ -88,8 +88,14 @@ multilib_src_configure() { } multilib_src_test() { - # bug #461302 - emake check </dev/null + local ps="${BUILD_DIR}/src/ps/pscommand" + if [[ $("${ps}" --no-headers -o cls -q $$) == IDL ]]; then + # bug 708230 + ewarn "Skipping tests due to SCHED_IDLE" + else + # bug #461302 + emake check </dev/null + fi } multilib_src_install() { |