summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2021-03-11 11:12:03 -0500
committerMatt Turner <mattst88@gentoo.org>2021-03-11 11:18:18 -0500
commitf1077d20c45457add875d30752c475d0d0da09a6 (patch)
tree3279929ac9c018800a8ce3718c080178be25f9ed
parentdev-python/ruamel-yaml-0.16.13-r1: skip test_collections_deprecation on pypy3 (diff)
downloadgentoo-f1077d20c45457add875d30752c475d0d0da09a6.tar.gz
gentoo-f1077d20c45457add875d30752c475d0d0da09a6.tar.bz2
gentoo-f1077d20c45457add875d30752c475d0d0da09a6.zip
x11-base/xorg-server: Add IUSE=test
Closes: https://bugs.gentoo.org/775260 Signed-off-by: Matt Turner <mattst88@gentoo.org>
-rw-r--r--x11-base/xorg-server/xorg-server-1.20.10-r2.ebuild4
-rw-r--r--x11-base/xorg-server/xorg-server-1.20.10-r3.ebuild4
-rw-r--r--x11-base/xorg-server/xorg-server-9999.ebuild4
3 files changed, 9 insertions, 3 deletions
diff --git a/x11-base/xorg-server/xorg-server-1.20.10-r2.ebuild b/x11-base/xorg-server/xorg-server-1.20.10-r2.ebuild
index e1fb864bbd62..b1ac96ca735c 100644
--- a/x11-base/xorg-server/xorg-server-1.20.10-r2.ebuild
+++ b/x11-base/xorg-server/xorg-server-1.20.10-r2.ebuild
@@ -14,7 +14,8 @@ if [[ ${PV} != 9999* ]]; then
fi
IUSE_SERVERS="dmx kdrive wayland xephyr xnest xorg xvfb"
-IUSE="${IUSE_SERVERS} debug +elogind ipv6 libressl minimal selinux suid systemd +udev unwind xcsecurity"
+IUSE="${IUSE_SERVERS} debug +elogind ipv6 libressl minimal selinux suid systemd test +udev unwind xcsecurity"
+RESTRICT="!test? ( test )"
CDEPEND="
media-libs/libglvnd[X]
@@ -141,6 +142,7 @@ pkg_setup() {
$(use_enable debug)
$(use_enable dmx)
$(use_enable kdrive)
+ $(use_enable test unit-tests)
$(use_enable unwind libunwind)
$(use_enable wayland xwayland)
$(use_enable !minimal record)
diff --git a/x11-base/xorg-server/xorg-server-1.20.10-r3.ebuild b/x11-base/xorg-server/xorg-server-1.20.10-r3.ebuild
index 3e1ad5b6dfa5..b815b67a8397 100644
--- a/x11-base/xorg-server/xorg-server-1.20.10-r3.ebuild
+++ b/x11-base/xorg-server/xorg-server-1.20.10-r3.ebuild
@@ -14,7 +14,8 @@ if [[ ${PV} != 9999* ]]; then
fi
IUSE_SERVERS="dmx kdrive wayland xephyr xnest xorg xvfb"
-IUSE="${IUSE_SERVERS} debug +elogind ipv6 libressl minimal selinux suid systemd +udev unwind xcsecurity"
+IUSE="${IUSE_SERVERS} debug +elogind ipv6 libressl minimal selinux suid systemd test +udev unwind xcsecurity"
+RESTRICT="!test? ( test )"
CDEPEND="
media-libs/libglvnd[X]
@@ -142,6 +143,7 @@ pkg_setup() {
$(use_enable debug)
$(use_enable dmx)
$(use_enable kdrive)
+ $(use_enable test unit-tests)
$(use_enable unwind libunwind)
$(use_enable wayland xwayland)
$(use_enable !minimal record)
diff --git a/x11-base/xorg-server/xorg-server-9999.ebuild b/x11-base/xorg-server/xorg-server-9999.ebuild
index f3daeac9bbd6..b77e074e4801 100644
--- a/x11-base/xorg-server/xorg-server-9999.ebuild
+++ b/x11-base/xorg-server/xorg-server-9999.ebuild
@@ -15,7 +15,8 @@ if [[ ${PV} != 9999* ]]; then
fi
IUSE_SERVERS="dmx kdrive wayland xephyr xnest xorg xvfb"
-IUSE="${IUSE_SERVERS} debug +elogind ipv6 libressl minimal selinux suid systemd +udev unwind xcsecurity"
+IUSE="${IUSE_SERVERS} debug +elogind ipv6 libressl minimal selinux suid systemd test +udev unwind xcsecurity"
+RESTRICT="!test? ( test )"
CDEPEND="
media-libs/libglvnd[X]
@@ -143,6 +144,7 @@ pkg_setup() {
$(use_enable debug)
$(use_enable dmx)
$(use_enable kdrive)
+ $(use_enable test unit-tests)
$(use_enable unwind libunwind)
$(use_enable wayland xwayland)
$(use_enable !minimal record)