gentoo/dev-libs/apr/files/apr-1.6.3-skip-known-failing-tests.patch
Thomas Deutschmann 6b3a23b766
dev-libs/apr: skip testlfs test
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
2018-09-01 17:19:52 +02:00

19 lines
512 B
Diff

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; \