commit:     a850195da5c24b5816359fe77cb6b6fed79bea19
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 18 12:32:36 2020 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Fri Sep 18 12:33:04 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a850195d

dev-lang/spidermonkey: disabling tests in EOL versions

Tests are written against bundled ICU. Once system's ICU version
is newer than bundled ICU, tests are likely to fail because due to
changes in newer ICU (changed locales, changed format), expected
hardcoded results don't match anymore.

Disabling tests because these versions are already EOL and keeping
up with ICU in a rolling distribution is impossible with the limited
man power we have.

Bug: https://bugs.gentoo.org/737464
Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 dev-lang/spidermonkey/spidermonkey-52.9.1_pre1-r2.ebuild | 5 ++++-
 dev-lang/spidermonkey/spidermonkey-60.5.2_p0-r4.ebuild   | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/dev-lang/spidermonkey/spidermonkey-52.9.1_pre1-r2.ebuild 
b/dev-lang/spidermonkey/spidermonkey-52.9.1_pre1-r2.ebuild
index 7f328008d90..b6ca6c1760f 100644
--- a/dev-lang/spidermonkey/spidermonkey-52.9.1_pre1-r2.ebuild
+++ b/dev-lang/spidermonkey/spidermonkey-52.9.1_pre1-r2.ebuild
@@ -19,7 +19,10 @@ SLOT="52"
 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 x86"
 IUSE="debug minimal +system-icu test"
 
-RESTRICT="!test? ( test ) ia64? ( test )"
+# Disable tests:
+# Version is dead and most issues are related to the use of
+# system's ICU.
+RESTRICT="test"
 
 S="${WORKDIR}/${MY_P%.rc*}"
 BUILDDIR="${S}/jsobj"

diff --git a/dev-lang/spidermonkey/spidermonkey-60.5.2_p0-r4.ebuild 
b/dev-lang/spidermonkey/spidermonkey-60.5.2_p0-r4.ebuild
index 663dcc95bf9..e2a81ff6576 100644
--- a/dev-lang/spidermonkey/spidermonkey-60.5.2_p0-r4.ebuild
+++ b/dev-lang/spidermonkey/spidermonkey-60.5.2_p0-r4.ebuild
@@ -20,7 +20,10 @@ SLOT="60"
 KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86"
 IUSE="debug +jit minimal +system-icu test"
 
-RESTRICT="!test? ( test ) ia64? ( test )"
+# Disable tests:
+# Version is dead and most issues are related to the use of
+# system's ICU.
+RESTRICT="test"
 
 S="${WORKDIR}/${MY_P%.rc*}"
 

Reply via email to