summaryrefslogtreecommitdiff
path: root/x11-wm/i3
diff options
context:
space:
mode:
authorNelo-T. Wallus <nelo@wallus.de>2018-01-16 12:24:49 +0100
committerLars Wendler <polynomial-c@gentoo.org>2018-01-16 12:29:00 +0100
commit4aedee4d20b325f1d3a3a0643d48978c0321a8c8 (patch)
treee9337407ab7b1671187e2949219262042361a6e9 /x11-wm/i3
parentkde-apps/kmailtransport: Fix draft message mailtransport (diff)
downloadgentoo-4aedee4d20b325f1d3a3a0643d48978c0321a8c8.tar.gz
gentoo-4aedee4d20b325f1d3a3a0643d48978c0321a8c8.tar.bz2
gentoo-4aedee4d20b325f1d3a3a0643d48978c0321a8c8.zip
x11-wm/i3: Readd my_src_test and restrict test phase
Package-Manager: Portage-2.3.19, Repoman-2.3.6 Closes: https://github.com/gentoo/gentoo/pull/6876
Diffstat (limited to 'x11-wm/i3')
-rw-r--r--x11-wm/i3/i3-4.14.1.ebuild17
1 files changed, 16 insertions, 1 deletions
diff --git a/x11-wm/i3/i3-4.14.1.ebuild b/x11-wm/i3/i3-4.14.1.ebuild
index c10aed5dc8d9..df485534f2f4 100644
--- a/x11-wm/i3/i3-4.14.1.ebuild
+++ b/x11-wm/i3/i3-4.14.1.ebuild
@@ -5,7 +5,7 @@ EAPI=6
AEVER=0.17
-inherit autotools out-of-source
+inherit autotools out-of-source virtualx
DESCRIPTION="An improved dynamic tiling window manager"
HOMEPAGE="https://i3wm.org/"
@@ -58,6 +58,9 @@ PATCHES=(
"${FILESDIR}/${PN}-musl-GLOB_TILDE.patch"
)
+# https://github.com/i3/i3/issues/3013
+RESTRICT="test"
+
src_prepare() {
default
@@ -76,6 +79,18 @@ my_src_configure() {
econf "${myeconfargs[@]}"
}
+my_src_test() {
+ emake \
+ test.commands_parser \
+ test.config_parser \
+ test.inject_randr15
+
+ virtx perl \
+ -I "${S}/testcases/lib" \
+ -I "${BUILD_DIR}/testcases/lib" \
+ testcases/complete-run.pl
+}
+
my_src_install_all() {
doman man/*.1