FYI use run-xvfb for tests if no display set
Mark Wielaard
mark at klomp.org
Mon Jan 24 07:58:24 PST 2011
Hi Matthias,
On Mon, 2011-01-24 at 16:47 +0100, Matthias Klose wrote:
> On 22.01.2011 22:14, Mark Wielaard wrote:
> > 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
If you want to explicitly enable it you will have to unset DISPLAY.
It shouldn't activate if you are already using xvfb-run since it checks
to see if DISPLAY is set. Could you show me how it breaks in your setup?
> 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.
Actually, that would be nice to have.
Could you post an example of how you run it?
Thanks,
Mark
More information about the distro-pkg-dev
mailing list