summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm')
-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