commit: 1a1ac3ef80648d4b3d14a0e138aae66c5767aa4f Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> AuthorDate: Sat Jan 30 23:00:23 2021 +0000 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> CommitDate: Sat Jan 30 23:00:23 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a1ac3ef
dev-ml/logs: remove failing test Closes: https://bugs.gentoo.org/767940 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> dev-ml/logs/logs-0.7.0.ebuild | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/dev-ml/logs/logs-0.7.0.ebuild b/dev-ml/logs/logs-0.7.0.ebuild index 7e256da93be..10704a0d8a0 100644 --- a/dev-ml/logs/logs-0.7.0.ebuild +++ b/dev-ml/logs/logs-0.7.0.ebuild @@ -31,6 +31,17 @@ DEPEND="${RDEPEND} test? ( dev-ml/mtime ) " +src_prepare() { + default + sed -i \ + -e "/test\/test_fmt/d" \ + -e "/test\/test_formatter/d" \ + -e "/test\/tool/d" \ + -e "/test\/test_lwt/d" \ + pkg/pkg.ml \ + || die +} + src_compile() { ocaml pkg/pkg.ml build \ --with-js_of_ocaml $(usex javascript true false) \ @@ -38,6 +49,7 @@ src_compile() { --with-cmdliner $(usex cli true false) \ --with-lwt $(usex fmt true false) \ --tests $(usex test true false) \ + --with-base-threads true \ || die }
