configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5829cf7e96d3b2fcbc91b9c5c15438202629bc03
Author:     Michael Weghorn <m.wegh...@posteo.de>
AuthorDate: Fri Dec 8 15:20:04 2023 +0100
Commit:     Michael Weghorn <m.wegh...@posteo.de>
CommitDate: Fri Dec 8 17:37:47 2023 +0100

    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.wegh...@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.wegh...@posteo.de>

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])

Reply via email to