[PATCH xserver v3 10/11] test: Switch our testing X server to being spawned with simple-xinit.

Eric Anholt eric at anholt.net
Sun Sep 25 20:30:21 UTC 2016


Once I introduced a second X server being tested, I found that startx
hit races in choosing a display.

Signed-off-by: Eric Anholt <eric at anholt.net>
---
 test/scripts/run-piglit.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/scripts/run-piglit.sh b/test/scripts/run-piglit.sh
index 3623a05c17fd..b999c259811a 100755
--- a/test/scripts/run-piglit.sh
+++ b/test/scripts/run-piglit.sh
@@ -38,7 +38,7 @@ if test "x$SERVER_COMMAND" = "x"; then
     exit 1
 fi
 
-startx \
+$XSERVER_BUILDDIR/test/simple-xinit \
     $XSERVER_DIR/test/scripts/xinit-piglit-session.sh \
     -- \
     $SERVER_COMMAND
-- 
2.9.3



More information about the xorg-devel mailing list