diff options
author | Kent Fredric <kentnl@gentoo.org> | 2017-04-29 21:18:30 +1200 |
---|---|---|
committer | Kent Fredric <kentnl@gentoo.org> | 2017-04-29 21:19:39 +1200 |
commit | aa2b57baed4f05b8b3e6a3c4344814ccbf036522 (patch) | |
tree | 3f952c40918925451caae60154227b54739f3cd6 /dev-perl/Gtk2-AppIndicator | |
parent | app-text/mupdf: Depend on >=media-libs/glfw-3.2 (bug #616826 by Hadrien Lacour). (diff) | |
download | gentoo-aa2b57baed4f05b8b3e6a3c4344814ccbf036522.tar.gz gentoo-aa2b57baed4f05b8b3e6a3c4344814ccbf036522.tar.bz2 gentoo-aa2b57baed4f05b8b3e6a3c4344814ccbf036522.zip |
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
Diffstat (limited to 'dev-perl/Gtk2-AppIndicator')
-rw-r--r-- | dev-perl/Gtk2-AppIndicator/Gtk2-AppIndicator-0.150.0.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
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" |