diff options
author | Andreas K. Huettel <dilfridge@gentoo.org> | 2020-03-22 11:38:37 +0100 |
---|---|---|
committer | Andreas K. Huettel <dilfridge@gentoo.org> | 2020-03-22 11:39:23 +0100 |
commit | f73508666740b15ebccfa01e79778d64406a5642 (patch) | |
tree | 8ac4b6bcb1dfbe8746951a9ed15a00782cab457c /sys-libs | |
parent | sys-libs/glibc: add XFAIL mechanism to 9999 (diff) | |
download | gentoo-f73508666740b15ebccfa01e79778d64406a5642.tar.gz gentoo-f73508666740b15ebccfa01e79778d64406a5642.tar.bz2 gentoo-f73508666740b15ebccfa01e79778d64406a5642.zip |
sys-libs/glibc: Disable sandbox in test phase, it breaks too much
Acked by Sergei (slyfox)
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Andreas K. Huettel <dilfridge@gentoo.org>
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/glibc/glibc-9999.ebuild | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild index fc5b12bfb5e9..a2c3812e254e 100644 --- a/sys-libs/glibc/glibc-9999.ebuild +++ b/sys-libs/glibc/glibc-9999.ebuild @@ -135,15 +135,7 @@ GENTOO_GLIBC_XFAIL_TESTS="${GENTOO_GLIBC_XFAIL_TESTS:-yes}" # The following tests fail due to the Gentoo build system and are thus # executed but ignored: XFAIL_TEST_LIST=( - # 1) Sandbox - tst-ldconfig-bad-aux-cache - tst-pldd - tst-mallocfork2 - tst-nss-db-endgrent - tst-nss-db-endpwent - tst-nss-files-hosts-long - tst-nss-test3 - # 2) Namespaces and cgroup + # 1) Namespaces and cgroup tst-locale-locpath # 9) Failures of unknown origin tst-latepthread @@ -1167,14 +1159,10 @@ glibc_src_test() { done fi - # disable tests: - # - tests-container: - # sandbox does not understand unshare() and prevents - # writes to /proc/ - # emake ${myxfailparams} check tests-container= - # if possible let's list them (unless it's *all* container tests) + # sandbox does not understand unshare() and prevents + # writes to /proc/, which makes many tests fail - emake ${myxfailparams} check + SANDBOX_ON=0 LD_PRELOAD= emake ${myxfailparams} check } do_src_test() { |