mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 03:44:06 +00:00
drop Xwayland
It always had it's own lifecycle (not been part of Xorg releases), doesn't make sense to maintain a competing implementation that we won't use anyways. Once that's gone, we can also drop few things in core/dix that had been added just for xwayland only. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
d042e5a667
commit
c8b81fdbc5
@@ -149,19 +149,6 @@ if get_option('xvfb')
|
||||
endif
|
||||
endif
|
||||
|
||||
if build_xwayland
|
||||
xwayland_args = [
|
||||
xwayland_server.full_path(),
|
||||
]
|
||||
|
||||
test('XTS',
|
||||
find_program('scripts/xwayland-piglit.sh'),
|
||||
env: piglit_env,
|
||||
timeout: 1200,
|
||||
suite: 'xwayland'
|
||||
)
|
||||
endif
|
||||
|
||||
subdir('bigreq')
|
||||
subdir('damage')
|
||||
subdir('sync')
|
||||
|
||||
@@ -1,62 +0,0 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
if test "x$XTEST_DIR" = "x"; then
|
||||
echo "XTEST_DIR must be set to the directory of the xtest repository."
|
||||
# Exit as a "skip" so make check works even without xtest.
|
||||
exit 77
|
||||
fi
|
||||
|
||||
if test "x$PIGLIT_DIR" = "x"; then
|
||||
echo "PIGLIT_DIR must be set to the directory of the piglit repository."
|
||||
# Exit as a "skip" so make check works even without piglit.
|
||||
exit 77
|
||||
fi
|
||||
|
||||
# this times out on Travis, because the tests take too long.
|
||||
if test "x$TRAVIS_BUILD_DIR" != "x"; then
|
||||
exit 77
|
||||
fi
|
||||
|
||||
# Weston requires XDG_RUNTIME_DIR
|
||||
if test "x$XDG_RUNTIME_DIR" = "x"; then
|
||||
export XDG_RUNTIME_DIR=$(mktemp -d)
|
||||
fi
|
||||
|
||||
# Skip if weston isn't available
|
||||
weston --version >/dev/null || exit 77
|
||||
|
||||
weston --no-config --backend=headless-backend.so --socket=wayland-$$ &
|
||||
WESTON_PID=$!
|
||||
export WAYLAND_DISPLAY=wayland-$$
|
||||
|
||||
# Need to kill weston before exiting, or meson will time out waiting for it to terminate
|
||||
# We rely on bash's behaviour, which executes the EXIT trap handler even if the shell is
|
||||
# terminated due to receiving a signal
|
||||
trap 'kill $WESTON_PID' EXIT
|
||||
|
||||
# Wait for weston to initialize before starting Xwayland
|
||||
if ! timeout 5s bash -c "while ! $XSERVER_BUILDDIR/hw/xwayland/Xwayland -pogo -displayfd 1 &>/dev/null; do sleep 1; done"; then
|
||||
# Try running Xwayland one more time, so we can propagate its stdout/stderr
|
||||
# output and exit status
|
||||
$XSERVER_BUILDDIR/hw/xwayland/Xwayland -pogo -displayfd 1
|
||||
fi
|
||||
|
||||
# Start an Xwayland server
|
||||
export PIGLIT_RESULTS_DIR=$XSERVER_BUILDDIR/test/piglit-results/xwayland
|
||||
export SERVER_COMMAND="$XSERVER_BUILDDIR/hw/xwayland/Xwayland -noreset"
|
||||
|
||||
# Make sure glamor doesn't use HW acceleration
|
||||
export GBM_ALWAYS_SOFTWARE=1
|
||||
|
||||
# Tests that currently fail on llvmpipe on CI
|
||||
PIGLIT_ARGS="$PIGLIT_ARGS -x xcleararea@6"
|
||||
PIGLIT_ARGS="$PIGLIT_ARGS -x xcleararea@7"
|
||||
PIGLIT_ARGS="$PIGLIT_ARGS -x xclearwindow@4"
|
||||
PIGLIT_ARGS="$PIGLIT_ARGS -x xclearwindow@5"
|
||||
PIGLIT_ARGS="$PIGLIT_ARGS -x xcopyarea@1"
|
||||
PIGLIT_ARGS="$PIGLIT_ARGS -x xsetfontpath@1"
|
||||
PIGLIT_ARGS="$PIGLIT_ARGS -x xsetfontpath@2"
|
||||
|
||||
export PIGLIT_ARGS
|
||||
|
||||
$XSERVER_DIR/test/scripts/run-piglit.sh
|
||||
Reference in New Issue
Block a user