commit:     30624abf0dab82565dfbade028c0c7d7aa56944d
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Fri Nov  4 02:41:27 2016 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Fri Nov  4 02:41:52 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30624abf

net-libs/zeromq: Restore parallel test restriction

The parallel test restriction (-j1) was lost when the ebuild was bumped to
EAPI=6 but is still required.

Gentoo-Bug: https://bugs.gentoo.org/597808

Package-Manager: portage-2.3.2

 net-libs/zeromq/zeromq-4.1.5-r1.ebuild | 7 +++++++
 net-libs/zeromq/zeromq-4.1.6.ebuild    | 7 +++++++
 2 files changed, 14 insertions(+)

diff --git a/net-libs/zeromq/zeromq-4.1.5-r1.ebuild 
b/net-libs/zeromq/zeromq-4.1.5-r1.ebuild
index 6dc3473..4101a7e 100644
--- a/net-libs/zeromq/zeromq-4.1.5-r1.ebuild
+++ b/net-libs/zeromq/zeromq-4.1.5-r1.ebuild
@@ -43,6 +43,13 @@ src_configure() {
        econf "${myeconfargs[@]}"
 }
 
+src_test() {
+       # Restricting to one job because multiple tests are using the same port.
+       # Upstream knows the problem and says it doesn't support parallel test
+       # execution, see ${S}/INSTALL.
+       emake -j1 check
+}
+
 src_install() {
        default
        prune_libtool_files

diff --git a/net-libs/zeromq/zeromq-4.1.6.ebuild 
b/net-libs/zeromq/zeromq-4.1.6.ebuild
index 6dc3473..4101a7e 100644
--- a/net-libs/zeromq/zeromq-4.1.6.ebuild
+++ b/net-libs/zeromq/zeromq-4.1.6.ebuild
@@ -43,6 +43,13 @@ src_configure() {
        econf "${myeconfargs[@]}"
 }
 
+src_test() {
+       # Restricting to one job because multiple tests are using the same port.
+       # Upstream knows the problem and says it doesn't support parallel test
+       # execution, see ${S}/INSTALL.
+       emake -j1 check
+}
+
 src_install() {
        default
        prune_libtool_files

Reply via email to