summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2023-12-08 15:20:04 +0100
committerMichael Weghorn <m.weghorn@posteo.de>2023-12-08 17:37:47 +0100
commit5829cf7e96d3b2fcbc91b9c5c15438202629bc03 (patch)
tree221719097b2161ab71a17234deb1c8065f01bf5a
parent5100fb1c0ebadf936bc86b60cb8870095003e8ce (diff)
configure: Pass '--auto-servernum' to xvfb-run here, too
Pass that param in configure.ac as well, to avoid multiple instances of xvfb-run potentially getting into each other's way. See the commit message of commit ca01deadcbc480b6e79618b227a2b73a61ecb7ff Author: Michael Weghorn <m.weghorn@posteo.de> Date: Mon Oct 16 11:03:46 2023 +0200 gtk3 a11y test: Let xvfb-run auto-determine free server num for more details, which added that param at the place where the tests using xvfb-run are run. Maybe this has a positive effect on occasional test failures like [1]: checking for xvfb-run... /usr/bin/xvfb-run checking whether /usr/bin/xvfb-run works...... no configure: error: xvfb-run required by --enable-atspi-tests not found Error running configure at ./autogen.sh line 321. [1] https://ci.libreoffice.org/job/gerrit_linux_gcc_release/154929/console Change-Id: Ie7ba6ec58ea44e5cf8a52d18f0359d3c2335a4ed Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160466 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 1cc8b72ad25e..98068c7f7c08 100644
--- a/configure.ac
+++ b/configure.ac
@@ -11856,7 +11856,7 @@ if ! test "$enable_atspi_tests" = no; then
if ! test "$XVFB_RUN" = no; then
dnl make sure the found xvfb-run actually works
AC_MSG_CHECKING([whether $XVFB_RUN works...])
- if $XVFB_RUN true >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD; then
+ if $XVFB_RUN --auto-servernum true >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])