Gentoo Archives: gentoo-commits

From: Kristian Fiskerstrand <k_f@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/cjs/
Date: Mon, 02 Apr 2018 18:37:04
Message-Id: 1522694161.8f947b8fa11d7a4e5532702da94249dd88e0d27b.k_f@gentoo
1 commit: 8f947b8fa11d7a4e5532702da94249dd88e0d27b
2 Author: Kristian Fiskerstrand <k_f <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 2 17:20:59 2018 +0000
4 Commit: Kristian Fiskerstrand <k_f <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 2 18:36:01 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f947b8f
7
8 gnome-extra/cjs: RESTRICT=test and fix a bunch of test failures
9
10 Fix a number of test failures related to console execution missing
11 compat symlink. Down to 2 remaining errors, but this test suite is flaky
12 enough and its not a reason to hold up the stabilization any longer so
13 adding a RESTRICT=test for now
14
15 Bug: https://bugs.gentoo.org/649534
16
17 Package-Manager: Portage-2.3.24, Repoman-2.3.6
18
19 gnome-extra/cjs/cjs-3.6.1.ebuild | 16 +++++++++++++++-
20 1 file changed, 15 insertions(+), 1 deletion(-)
21
22 diff --git a/gnome-extra/cjs/cjs-3.6.1.ebuild b/gnome-extra/cjs/cjs-3.6.1.ebuild
23 index 23afc9055f7..d0ae7f565ac 100644
24 --- a/gnome-extra/cjs/cjs-3.6.1.ebuild
25 +++ b/gnome-extra/cjs/cjs-3.6.1.ebuild
26 @@ -1,4 +1,4 @@
27 -# Copyright 1999-2017 Gentoo Foundation
28 +# Copyright 1999-2018 Gentoo Foundation
29 # Distributed under the terms of the GNU General Public License v2
30
31 EAPI=6
32 @@ -34,9 +34,23 @@ RDEPEND="${RDEPEND}
33 !<gnome-extra/cinnamon-2.4
34 "
35
36 +RESTRICT="test"
37 +
38 src_prepare() {
39 eautoreconf
40 gnome2_src_prepare
41 + sed -ie "s/gjs-console/cjs-console/g" \
42 + "${S}"/installed-tests/scripts/testCommandLine.sh \
43 + "${S}"/installed-tests/scripts/testWarnings.sh || die
44 +
45 + sed -ie "s/Gjs-WARNING/Cjs-WARNING/g" \
46 + "${S}"/installed-tests/scripts/testCommandLine.sh || die
47 +
48 + sed -ie "s/'Gjs'/'Cjs'/g" \
49 + "${S}"/installed-tests/js/testExceptions.js \
50 + "${S}"/installed-tests/js/testSignals.js \
51 + "${S}"/installed-tests/js/testGDBus.js \
52 + "${S}"/installed-tests/js/testEverythingBasic.js || die
53 }
54
55 src_configure() {