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

Eric Anholt eric at anholt.net
Thu Sep 22 08:45:10 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 eb6ccca35dbb..80d0faab6b21 100755
--- a/test/scripts/run-piglit.sh
+++ b/test/scripts/run-piglit.sh
@@ -32,7 +32,7 @@ if test "x$XSERVER_BUILDDIR" = "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