Skip to content

Commit

Permalink
dev-libs/apr: skip testlfs test
Browse files Browse the repository at this point in the history
Test only runs on non 64-bit systems and fails due to
a Gentoo sandbox issue. To avoid requiring FEATURES=-usersandbox
for this package, we are now skipping this test.

Closes: https://bugs.gentoo.org/603244
Package-Manager: Portage-2.3.48, Repoman-2.3.10
  • Loading branch information
Whissi committed Sep 1, 2018
1 parent da2d7e2 commit 6b3a23b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-libs/apr/apr-1.6.3-r2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.5.0-cross-types.patch
"${FILESDIR}"/${PN}-1.5.0-sysroot.patch #385775
"${FILESDIR}"/${PN}-1.6.3-fix-overflow-check-in-overflow_strfsize.patch
"${FILESDIR}"/${PN}-1.6.3-skip-known-failing-tests.patch
)

src_prepare() {
Expand Down
18 changes: 18 additions & 0 deletions dev-libs/apr/files/apr-1.6.3-skip-known-failing-tests.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Skip testlfs test which only runs on non 64-bit systems and fails
on Gentoo due to a sandbox issue. Bug #603244

--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -172,7 +172,11 @@ check: $(TESTALL_COMPONENTS) $(STDTEST_PORTABLE) $(STDTEST_NONPORTABLE)
fi; \
done; \
else \
- ./$$prog -v; \
+ if test "$$prog" = 'testall@EXEEXT@'; then \
+ ./$$prog -v -x testlfs; \
+ else \
+ ./$$prog -v; \
+ fi; \
status=$$?; \
if test $$status != 0; then \
teststatus=$$status; \

0 comments on commit 6b3a23b

Please sign in to comment.