diff options
author | Matoro Mahri <matoro_gentoo@matoro.tk> | 2024-04-25 23:48:40 -0400 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-04-30 06:52:49 +0100 |
commit | cda927fb0d36cdb0563413cc92818dcf358dd0df (patch) | |
tree | abc093fdb1725d9a68e488386657f798f65382fc | |
parent | profiles/arch/x86: stable-mask app-emulation/libvirt[nbd] (diff) | |
download | gentoo-cda927fb0d36cdb0563413cc92818dcf358dd0df.tar.gz gentoo-cda927fb0d36cdb0563413cc92818dcf358dd0df.tar.bz2 gentoo-cda927fb0d36cdb0563413cc92818dcf358dd0df.zip |
sys-libs/glibc: skip tst-nice with nice 19
Fails otherwise, because it expects to see a change when bumping
niceness, but no change can be make when niceness is already at max.
Bug: https://bugs.gentoo.org/927238
Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk>
Closes: https://github.com/gentoo/gentoo/pull/36429
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | sys-libs/glibc/glibc-2.38-r10.ebuild | 5 | ||||
-rw-r--r-- | sys-libs/glibc/glibc-2.38-r11.ebuild | 5 | ||||
-rw-r--r-- | sys-libs/glibc/glibc-2.38-r12.ebuild | 5 | ||||
-rw-r--r-- | sys-libs/glibc/glibc-2.38-r13.ebuild | 5 | ||||
-rw-r--r-- | sys-libs/glibc/glibc-2.39-r3.ebuild | 5 | ||||
-rw-r--r-- | sys-libs/glibc/glibc-2.39-r4.ebuild | 5 | ||||
-rw-r--r-- | sys-libs/glibc/glibc-9999.ebuild | 5 |
7 files changed, 35 insertions, 0 deletions
diff --git a/sys-libs/glibc/glibc-2.38-r10.ebuild b/sys-libs/glibc/glibc-2.38-r10.ebuild index 5fca93e98070..a60562d5f8ce 100644 --- a/sys-libs/glibc/glibc-2.38-r10.ebuild +++ b/sys-libs/glibc/glibc-2.38-r10.ebuild @@ -1266,6 +1266,11 @@ glibc_src_test() { ewarn "Skipping extra tests because in systemd-nspawn container" XFAIL_TEST_LIST+=( "${XFAIL_NSPAWN_TEST_LIST[@]}" ) fi + if [[ "$(nice)" == "19" ]] ; then + # Expects to be able to increase niceness, which it can't do if + # already at the highest nice value + XFAIL_TEST_LIST+=( "tst-nice" ) + fi for myt in ${XFAIL_TEST_LIST[@]} ; do myxfailparams+="test-xfail-${myt}=yes " diff --git a/sys-libs/glibc/glibc-2.38-r11.ebuild b/sys-libs/glibc/glibc-2.38-r11.ebuild index 93f0999d1d03..17e29f36c3fe 100644 --- a/sys-libs/glibc/glibc-2.38-r11.ebuild +++ b/sys-libs/glibc/glibc-2.38-r11.ebuild @@ -1272,6 +1272,11 @@ glibc_src_test() { ewarn "Skipping extra tests because in systemd-nspawn container" XFAIL_TEST_LIST+=( "${XFAIL_NSPAWN_TEST_LIST[@]}" ) fi + if [[ "$(nice)" == "19" ]] ; then + # Expects to be able to increase niceness, which it can't do if + # already at the highest nice value + XFAIL_TEST_LIST+=( "tst-nice" ) + fi for myt in ${XFAIL_TEST_LIST[@]} ; do myxfailparams+="test-xfail-${myt}=yes " diff --git a/sys-libs/glibc/glibc-2.38-r12.ebuild b/sys-libs/glibc/glibc-2.38-r12.ebuild index 9c1814df87de..3faaa1af693c 100644 --- a/sys-libs/glibc/glibc-2.38-r12.ebuild +++ b/sys-libs/glibc/glibc-2.38-r12.ebuild @@ -1272,6 +1272,11 @@ glibc_src_test() { ewarn "Skipping extra tests because in systemd-nspawn container" XFAIL_TEST_LIST+=( "${XFAIL_NSPAWN_TEST_LIST[@]}" ) fi + if [[ "$(nice)" == "19" ]] ; then + # Expects to be able to increase niceness, which it can't do if + # already at the highest nice value + XFAIL_TEST_LIST+=( "tst-nice" ) + fi for myt in ${XFAIL_TEST_LIST[@]} ; do myxfailparams+="test-xfail-${myt}=yes " diff --git a/sys-libs/glibc/glibc-2.38-r13.ebuild b/sys-libs/glibc/glibc-2.38-r13.ebuild index 11905f8503e2..f8c587470c6d 100644 --- a/sys-libs/glibc/glibc-2.38-r13.ebuild +++ b/sys-libs/glibc/glibc-2.38-r13.ebuild @@ -1272,6 +1272,11 @@ glibc_src_test() { ewarn "Skipping extra tests because in systemd-nspawn container" XFAIL_TEST_LIST+=( "${XFAIL_NSPAWN_TEST_LIST[@]}" ) fi + if [[ "$(nice)" == "19" ]] ; then + # Expects to be able to increase niceness, which it can't do if + # already at the highest nice value + XFAIL_TEST_LIST+=( "tst-nice" ) + fi for myt in ${XFAIL_TEST_LIST[@]} ; do myxfailparams+="test-xfail-${myt}=yes " diff --git a/sys-libs/glibc/glibc-2.39-r3.ebuild b/sys-libs/glibc/glibc-2.39-r3.ebuild index 8a1b09f69a23..bfab9dd8ed28 100644 --- a/sys-libs/glibc/glibc-2.39-r3.ebuild +++ b/sys-libs/glibc/glibc-2.39-r3.ebuild @@ -1276,6 +1276,11 @@ glibc_src_test() { ewarn "Skipping extra tests because in systemd-nspawn container" XFAIL_TEST_LIST+=( "${XFAIL_NSPAWN_TEST_LIST[@]}" ) fi + if [[ "$(nice)" == "19" ]] ; then + # Expects to be able to increase niceness, which it can't do if + # already at the highest nice value + XFAIL_TEST_LIST+=( "tst-nice" ) + fi for myt in ${XFAIL_TEST_LIST[@]} ; do myxfailparams+="test-xfail-${myt}=yes " diff --git a/sys-libs/glibc/glibc-2.39-r4.ebuild b/sys-libs/glibc/glibc-2.39-r4.ebuild index 5d05b046a06e..8fe8030a9e56 100644 --- a/sys-libs/glibc/glibc-2.39-r4.ebuild +++ b/sys-libs/glibc/glibc-2.39-r4.ebuild @@ -1276,6 +1276,11 @@ glibc_src_test() { ewarn "Skipping extra tests because in systemd-nspawn container" XFAIL_TEST_LIST+=( "${XFAIL_NSPAWN_TEST_LIST[@]}" ) fi + if [[ "$(nice)" == "19" ]] ; then + # Expects to be able to increase niceness, which it can't do if + # already at the highest nice value + XFAIL_TEST_LIST+=( "tst-nice" ) + fi for myt in ${XFAIL_TEST_LIST[@]} ; do myxfailparams+="test-xfail-${myt}=yes " diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild index 93936304f66f..3a053a9de724 100644 --- a/sys-libs/glibc/glibc-9999.ebuild +++ b/sys-libs/glibc/glibc-9999.ebuild @@ -1276,6 +1276,11 @@ glibc_src_test() { ewarn "Skipping extra tests because in systemd-nspawn container" XFAIL_TEST_LIST+=( "${XFAIL_NSPAWN_TEST_LIST[@]}" ) fi + if [[ "$(nice)" == "19" ]] ; then + # Expects to be able to increase niceness, which it can't do if + # already at the highest nice value + XFAIL_TEST_LIST+=( "tst-nice" ) + fi for myt in ${XFAIL_TEST_LIST[@]} ; do myxfailparams+="test-xfail-${myt}=yes " |