1#!/bin/sh 2 3# this times out on Travis, because the tests take too long. 4if test "x$TRAVIS_BUILD_DIR" != "x"; then 5 exit 77 6fi 7 8# Start a Xephyr server using glamor. Since the test environment is 9# headless, we start an Xvfb first to host the Xephyr. 10export PIGLIT_RESULTS_DIR=$XSERVER_BUILDDIR/test/piglit-results/xephyr-glamor 11 12export SERVER_COMMAND="$XSERVER_BUILDDIR/hw/kdrive/ephyr/Xephyr \ 13 -glamor \ 14 -glamor-skip-present \ 15 -noreset \ 16 -schedMax 2000 \ 17 -screen 1280x1024" 18 19# Tests that currently fail on llvmpipe on CI 20PIGLIT_ARGS="$PIGLIT_ARGS -x xcleararea@6" 21PIGLIT_ARGS="$PIGLIT_ARGS -x xcleararea@7" 22PIGLIT_ARGS="$PIGLIT_ARGS -x xclearwindow@4" 23PIGLIT_ARGS="$PIGLIT_ARGS -x xclearwindow@5" 24PIGLIT_ARGS="$PIGLIT_ARGS -x xcopyarea@1" 25 26export PIGLIT_ARGS 27 28$XSERVER_BUILDDIR/test/simple-xinit \ 29 $XSERVER_DIR/test/scripts/run-piglit.sh \ 30 -- \ 31 $XSERVER_BUILDDIR/hw/vfb/Xvfb \ 32 -screen scrn 1280x1024x24 33