mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 23:23:00 -04:00
phosh-base/phosh-shell: disable xwayland for tests
Xwayland makes one of tests flaky and also pollutes /tmp/.X11-unix without proper cleanup. We're bettter off without it. Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -106,14 +106,24 @@ src_configure() {
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local -x LC_ALL="C.UTF-8"
|
||||
local -x WLR_RENDERER="pixman"
|
||||
my_src_test() {
|
||||
local -x LC_ALL="C.UTF-8"
|
||||
local -x WLR_RENDERER="pixman"
|
||||
local -x PHOSH_TEST_PHOC_INI="${T}/phoc.ini"
|
||||
|
||||
virtx meson_src_test --suite unit
|
||||
if use test-full; then
|
||||
# Passing "-j 1" because "phosh:integration / shell" test is flaky
|
||||
virtx meson_src_test --suite integration -j 1
|
||||
fi
|
||||
meson_src_test --suite unit || return 1
|
||||
if use test-full; then
|
||||
meson_src_test --suite integration || return 1
|
||||
fi
|
||||
}
|
||||
|
||||
# Xwayland breaks "phosh:integration / shell", pollutes /tmp
|
||||
cat data/phoc.ini - > "${T}"/phoc.ini <<- EOF || die
|
||||
[core]
|
||||
xwayland=false
|
||||
EOF
|
||||
|
||||
virtx my_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
Reference in New Issue
Block a user