mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 14:00:03 +01:00
They start failing after rebuilding the docker image. It's not clear why, but looks like it's triggered by changes in Debian bullseye.
39 lines
1.1 KiB
Bash
Executable file
39 lines
1.1 KiB
Bash
Executable file
#!/bin/sh
|
|
|
|
# .xinitrc replacement to run piglit and exit.
|
|
#
|
|
# Note that piglit will run many processes against the server, so
|
|
# running the server with -noreset is recommended to improve runtime.
|
|
|
|
set -e
|
|
|
|
if test "x$PIGLIT_DIR" = "x"; then
|
|
echo "PIGLIT_DIR must be set to the directory of the piglit repository."
|
|
exit 1
|
|
fi
|
|
|
|
if test "x$PIGLIT_RESULTS_DIR" = "x"; then
|
|
echo "PIGLIT_RESULTS_DIR must be defined"
|
|
exit 1
|
|
fi
|
|
|
|
if test "x$XTEST_DIR" = "x"; then
|
|
echo "XTEST_DIR must be set to the root of the built xtest tree."
|
|
exit 1
|
|
fi
|
|
|
|
cd $PIGLIT_DIR
|
|
|
|
# Skip some tests that are failing at the time of importing the script.
|
|
# "REPORT: min_bounds, rbearing was 0, expecting 2"
|
|
PIGLIT_ARGS="$PIGLIT_ARGS -x xlistfontswithinfo@3"
|
|
PIGLIT_ARGS="$PIGLIT_ARGS -x xlistfontswithinfo@4"
|
|
PIGLIT_ARGS="$PIGLIT_ARGS -x xloadqueryfont@1"
|
|
PIGLIT_ARGS="$PIGLIT_ARGS -x xqueryfont@1"
|
|
PIGLIT_ARGS="$PIGLIT_ARGS -x xqueryfont@2"
|
|
PIGLIT_ARGS="$PIGLIT_ARGS -x xsetfontpath@1"
|
|
PIGLIT_ARGS="$PIGLIT_ARGS -x xsetfontpath@2"
|
|
# Run as meson unit tests.
|
|
PIGLIT_ARGS="$PIGLIT_ARGS -x rendercheck"
|
|
|
|
exec ./piglit run xts-render $PIGLIT_ARGS $PIGLIT_RESULTS_DIR
|