From: Kent Fredric Date: Sat, 29 Apr 2017 09:18:30 +0000 (+1200) Subject: dev-perl/Gtk2-AppIndicator: Fix tests with virtualx X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=aa2b57baed4f05b8b3e6a3c4344814ccbf036522;p=gentoo.git dev-perl/Gtk2-AppIndicator: Fix tests with virtualx Tests currently fail trying to access a non-existent display. This fixes the problem by constructing a virtual X instance for testing Package-Manager: Portage-2.3.5, Repoman-2.3.2 --- diff --git a/dev-perl/Gtk2-AppIndicator/Gtk2-AppIndicator-0.150.0.ebuild b/dev-perl/Gtk2-AppIndicator/Gtk2-AppIndicator-0.150.0.ebuild index 1fc3f86bc05e..3bef901177a6 100644 --- a/dev-perl/Gtk2-AppIndicator/Gtk2-AppIndicator-0.150.0.ebuild +++ b/dev-perl/Gtk2-AppIndicator/Gtk2-AppIndicator-0.150.0.ebuild @@ -5,7 +5,7 @@ EAPI=5 MODULE_AUTHOR=OESTERHOL MODULE_VERSION=0.15 -inherit perl-module +inherit virtualx perl-module DESCRIPTION="Perl binding for the GTK2 AppIndicator" @@ -19,5 +19,7 @@ RDEPEND=" DEPEND="${RDEPEND} virtual/perl-ExtUtils-MakeMaker " - +src_test() { + virtx perl-module_src_test +} SRC_TEST="do parallel"