[PATCH xserver 00/10] Automated glamor testing

Eric Anholt eric at anholt.net
Thu Sep 22 08:45:01 UTC 2016


Here's a series that gets us automated headless make check of glamor.
The run takes about 10 minutes with llvmpipe on new hardware.

Along the way, I had to fix glamor so that more of its tests pass, and
fix test result reporting (oops), and hack Xephyr to make the testing
fast enough (I do really need to fix the BlockHandler flush frequency
problem).

Eric Anholt (10):
  glamor: Fix some awful formatting of some fallback debug code.
  glamor: Require that 16bpp pixmap depths match for Render copies.
  ephyr: Add a mode for skipping redisplay in glamor.
  test: Handle srcdir != builddir in Xvfb testing.
  test: Add a little xinit-like program for starting servers for
    testing.
  test: Make the piglit-running script callable with an arbitrary
    server.
  test: Fix parsing of piglit results.
  test: Update piglit HTML even when tests all pass.
  test: Switch our testing X server to being spawned with simple-xinit.
  test: Run xts against Xephyr -glamor when present.

 glamor/glamor_render.c                         |  18 ++-
 hw/kdrive/ephyr/ephyr_glamor_glx.c             |   8 +
 hw/kdrive/ephyr/ephyrinit.c                    |   7 +-
 test/.gitignore                                |   2 +
 test/Makefile.am                               |  23 ++-
 test/scripts/{xvfb-piglit.sh => run-piglit.sh} |  30 ++--
 test/scripts/xephyr-glamor-piglit.sh           |  29 ++++
 test/scripts/xvfb-piglit.sh                    |  67 +-------
 test/simple-xinit.c                            | 216 +++++++++++++++++++++++++
 9 files changed, 314 insertions(+), 86 deletions(-)
 copy test/scripts/{xvfb-piglit.sh => run-piglit.sh} (65%)
 create mode 100755 test/scripts/xephyr-glamor-piglit.sh
 create mode 100644 test/simple-xinit.c

-- 
2.9.3



More information about the xorg-devel mailing list