FYI use run-xvfb for tests if no display set

Mark Wielaard mark at klomp.org
Sat Jan 22 13:14:00 PST 2011


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

Cheers,

Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xvfb.patch
Type: text/x-diff
Size: 1085 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110122/1854c87a/xvfb.patch 


More information about the distro-pkg-dev mailing list