FYI use run-xvfb for tests if no display set

Matthias Klose doko at ubuntu.com
Mon Jan 24 07:47:44 PST 2011


On 22.01.2011 22:14, Mark Wielaard wrote:
> Hi,
>
> This patch makes it so that if DISPLAY isn't set and configure
> detected run-xvfb is installed the make check-jdk tests are run
> under run-xvfb. This will make it so that on autobuilders the gui
> tests will run "normally" even when they don't have any display
> as long as they have Xvfb server installed. Nothing changes for
> normal setups if DISPLAY is set, or run-xvfb isn't installed.
>
> 2010-01-22  Mark Wielaard<mark at klomp.org>
>
> 	* configure.ac: Add xvfb-run AC_CHECK_PROG.
> 	* Makefile.am (check-jdk): Use xvfb-run if available and DISPLAY
> 	not set.
>
> I'll commit this in icedtea6 and icedtea[7].

Please add a configure option to explicitly enable it.  The reason is that I 
already run it, and starting it twice breaks it, and I do not want to use your 
version because it doesn't start a window manager which is needed for some 
tests.  But starting a window manager is again "complicated". When using twm, 
you'll have to make sure that the placement of windows is automatic, when 
starting metacity, it might be necessary to start it with a dbus-session, and so 
on ... Not sure if you want to add all this to the configury.

   Matthias



More information about the distro-pkg-dev mailing list