xserver

xserver with xephyr scale patch
git clone https://git.neptards.moe/u3shit/xserver.git
Log | Files | Refs | README | LICENSE

xinit-piglit-session.sh (1065B)


      1 #!/bin/sh
      2 
      3 # .xinitrc replacement to run piglit and exit.
      4 #
      5 # Note that piglit will run many processes against the server, so
      6 # running the server with -noreset is recommended to improve runtime.
      7 
      8 set -e
      9 
     10 if test "x$PIGLIT_DIR" = "x"; then
     11     echo "PIGLIT_DIR must be set to the directory of the piglit repository."
     12     exit 1
     13 fi
     14 
     15 if test "x$PIGLIT_RESULTS_DIR" = "x"; then
     16     echo "PIGLIT_RESULTS_DIR must be defined"
     17     exit 1
     18 fi
     19 
     20 if test "x$XTEST_DIR" = "x"; then
     21     echo "XTEST_DIR must be set to the root of the built xtest tree."
     22     exit 1
     23 fi
     24 
     25 cd $PIGLIT_DIR
     26 
     27 # Skip some tests that are failing at the time of importing the script.
     28 #    "REPORT: min_bounds, rbearing was 0, expecting 2"
     29 PIGLIT_ARGS="$PIGLIT_ARGS -x xlistfontswithinfo@3"
     30 PIGLIT_ARGS="$PIGLIT_ARGS -x xlistfontswithinfo@4"
     31 PIGLIT_ARGS="$PIGLIT_ARGS -x xloadqueryfont@1"
     32 PIGLIT_ARGS="$PIGLIT_ARGS -x xqueryfont@1"
     33 PIGLIT_ARGS="$PIGLIT_ARGS -x xqueryfont@2"
     34 # Run as meson unit tests.
     35 PIGLIT_ARGS="$PIGLIT_ARGS -x rendercheck"
     36 
     37 exec ./piglit run xts-render $PIGLIT_ARGS $PIGLIT_RESULTS_DIR