From: Alfred Wingate <paro…@protonmail.com>
Signed-off-by: Alfred Wingate <paro…@protonmail.com>
---
dev-libs/weston/weston-14.0.2-r1.ebuild | 11 +++++++----
dev-libs/weston/weston-15.0.1.ebuild | 9 ++++++---
dev-libs/weston/weston-16.0.2.ebuild | 9 ++++++---
dev-libs/weston/weston-9999.ebuild | 9 ++++++---
4 files changed, 25 insertions(+), 13 deletions(-)
diff --git a/dev-libs/weston/weston-14.0.2-r1.ebuild b/dev-libs/weston/weston-14.0.2-r1.ebuild
index 4450f0e3719a8..165b8b83e59dc 100644
--- a/dev-libs/weston/weston-14.0.2-r1.ebuild
+++ b/dev-libs/weston/weston-14.0.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -145,9 +145,12 @@ src_test() {
xdg_environment_reset
addwrite /dev/dri/
- # xwayland test can fail if X11 socket already exists.
- cd "${BUILD_DIR}" || die
- meson test $(meson test --list | grep -Exv "xwayland") || die
+ local -a EMESON_SKIP_TESTS=(
+ # xwayland test can fail if X11 socket already exists.
+ weston:xwayland
+ )
+
+ meson_src_test
}
src_install() {
diff --git a/dev-libs/weston/weston-15.0.1.ebuild b/dev-libs/weston/weston-15.0.1.ebuild
index 752ad7f6313c8..5fef5d417c1bb 100644
--- a/dev-libs/weston/weston-15.0.1.ebuild
+++ b/dev-libs/weston/weston-15.0.1.ebuild
@@ -149,9 +149,12 @@ src_test() {
xdg_environment_reset
addwrite /dev/dri/
- # xwayland test can fail if X11 socket already exists.
- cd "${BUILD_DIR}" || die
- meson test $(meson test --list | grep -Exv "weston:xwayland") || die
+ local -a EMESON_SKIP_TESTS=(
+ # xwayland test can fail if X11 socket already exists.
+ weston:xwayland
+ )
+
+ meson_src_test
}
src_install() {
diff --git a/dev-libs/weston/weston-16.0.2.ebuild b/dev-libs/weston/weston-16.0.2.ebuild
index c12fbfe0fa628..685fb2cfad242 100644
--- a/dev-libs/weston/weston-16.0.2.ebuild
+++ b/dev-libs/weston/weston-16.0.2.ebuild
@@ -140,9 +140,12 @@ src_test() {
xdg_environment_reset
addwrite /dev/dri/
- # xwayland test can fail if X11 socket already exists.
- cd "${BUILD_DIR}" || die
- meson test $(meson test --list | grep -Exv "weston:xwayland") || die
+ local -a EMESON_SKIP_TESTS=(
+ # xwayland test can fail if X11 socket already exists.
+ weston:xwayland
+ )
+
+ meson_src_test
}
src_install() {
diff --git a/dev-libs/weston/weston-9999.ebuild b/dev-libs/weston/weston-9999.ebuild
index c12fbfe0fa628..685fb2cfad242 100644
--- a/dev-libs/weston/weston-9999.ebuild
+++ b/dev-libs/weston/weston-9999.ebuild
@@ -140,9 +140,12 @@ src_test() {
xdg_environment_reset
addwrite /dev/dri/
- # xwayland test can fail if X11 socket already exists.
- cd "${BUILD_DIR}" || die
- meson test $(meson test --list | grep -Exv "weston:xwayland") || die
+ local -a EMESON_SKIP_TESTS=(
+ # xwayland test can fail if X11 socket already exists.
+ weston:xwayland
+ )
+
+ meson_src_test
}
src_install() {
--
2.56.0