www-servers/nginx: Add test restriction
authorThomas Deutschmann <whissi@gentoo.org>
Mon, 16 Jan 2017 14:25:32 +0000 (15:25 +0100)
committerThomas Deutschmann <whissi@gentoo.org>
Mon, 16 Jan 2017 14:26:06 +0000 (15:26 +0100)
Package does not provide a real test suite. Building with FEATURES=test will
currently end with a failure like

  >>> Test phase: www-servers/nginx-1.10.2-r3
   * Test::Harness Jobs=5
  make --jobs 5 --load-average 7.95 test TEST_VERBOSE=0
  make: *** No rule to make target 'test'.  Stop.
   * ERROR: www-servers/nginx-1.10.2-r3::gentoo failed (test phase):
   *   emake failed

Restricting test will prevent an error like this.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

www-servers/nginx/nginx-1.10.2-r3.ebuild
www-servers/nginx/nginx-1.11.6-r1.ebuild
www-servers/nginx/nginx-1.11.8.ebuild

index 2a00c267de5cdf02deeb3a6808df4807b9bb6a67..8cb71d45f74b89cec3b21965e12f22bab9e899a4 100644 (file)
@@ -175,6 +175,9 @@ LICENSE="BSD-2 BSD SSLeay MIT GPL-2 GPL-2+
 SLOT="0"
 KEYWORDS="amd64 ~arm ~arm64 ~ppc x86 ~x86-fbsd ~amd64-linux ~x86-linux"
 
+# Package doesn't provide a real test suite
+RESTRICT="test"
+
 NGINX_MODULES_STD="access auth_basic autoindex browser charset empty_gif
        fastcgi geo gzip limit_req limit_conn map memcached proxy referer
        rewrite scgi ssi split_clients upstream_ip_hash userid uwsgi"
index 49ffa0aeb2fcaf6f0c0ba37fb253b2d848b69554..d4c0878161c57a3fa3b87088f3065065147a24dd 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -175,6 +175,9 @@ LICENSE="BSD-2 BSD SSLeay MIT GPL-2 GPL-2+
 SLOT="mainline"
 KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
 
+# Package doesn't provide a real test suite
+RESTRICT="test"
+
 NGINX_MODULES_STD="access auth_basic autoindex browser charset empty_gif
        fastcgi geo gzip limit_req limit_conn map memcached proxy referer
        rewrite scgi ssi split_clients upstream_hash upstream_ip_hash
index d4ad6b0c231e86c15e53e1de2f8b50a8b084cd33..d4c0878161c57a3fa3b87088f3065065147a24dd 100644 (file)
@@ -175,6 +175,9 @@ LICENSE="BSD-2 BSD SSLeay MIT GPL-2 GPL-2+
 SLOT="mainline"
 KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
 
+# Package doesn't provide a real test suite
+RESTRICT="test"
+
 NGINX_MODULES_STD="access auth_basic autoindex browser charset empty_gif
        fastcgi geo gzip limit_req limit_conn map memcached proxy referer
        rewrite scgi ssi split_clients upstream_hash upstream_ip_hash