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