Gentoo Archives: gentoo-commits

From: Kent Fredric <kentnl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Gtk2-AppIndicator/
Date: Sat, 29 Apr 2017 09:19:52
Message-Id: 1493457579.aa2b57baed4f05b8b3e6a3c4344814ccbf036522.kentnl@gentoo
1 commit: aa2b57baed4f05b8b3e6a3c4344814ccbf036522
2 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 29 09:18:30 2017 +0000
4 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 29 09:19:39 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa2b57ba
7
8 dev-perl/Gtk2-AppIndicator: Fix tests with virtualx
9
10 Tests currently fail trying to access a non-existent display.
11
12 This fixes the problem by constructing a virtual X instance for testing
13
14 Package-Manager: Portage-2.3.5, Repoman-2.3.2
15
16 dev-perl/Gtk2-AppIndicator/Gtk2-AppIndicator-0.150.0.ebuild | 6 ++++--
17 1 file changed, 4 insertions(+), 2 deletions(-)
18
19 diff --git a/dev-perl/Gtk2-AppIndicator/Gtk2-AppIndicator-0.150.0.ebuild b/dev-perl/Gtk2-AppIndicator/Gtk2-AppIndicator-0.150.0.ebuild
20 index 1fc3f86bc05..3bef901177a 100644
21 --- a/dev-perl/Gtk2-AppIndicator/Gtk2-AppIndicator-0.150.0.ebuild
22 +++ b/dev-perl/Gtk2-AppIndicator/Gtk2-AppIndicator-0.150.0.ebuild
23 @@ -5,7 +5,7 @@ EAPI=5
24
25 MODULE_AUTHOR=OESTERHOL
26 MODULE_VERSION=0.15
27 -inherit perl-module
28 +inherit virtualx perl-module
29
30 DESCRIPTION="Perl binding for the GTK2 AppIndicator"
31
32 @@ -19,5 +19,7 @@ RDEPEND="
33 DEPEND="${RDEPEND}
34 virtual/perl-ExtUtils-MakeMaker
35 "
36 -
37 +src_test() {
38 + virtx perl-module_src_test
39 +}
40 SRC_TEST="do parallel"