Hi,

Here's what I found out so far about this bug.

Unsetting the DISPLAY environment variable works around the FTBFS error by skipping the failing Junit tests. However, unsetting DISPLAY is not the preferable/acceptable solution, as it simply skips the failing tests.

Check out the build.xml. Several tests are only conditionally executed, depending on whether DISPLAY is set:

i.e.

<test name="org.jdesktop.application.BadSessionStateTest" if="have.display"/>

where property have.display is conditionally set earlier on based on:

<isset property="env.DISPLAY"/>



I turned to debugging the Junit tests and determined that the following tests are failing:

 <test name="org.jdesktop.application.BadSessionStateTest"
                  if="have.display"/>
 <test name="org.jdesktop.application.CustomPropertySupportTest"
                  if="have.display"/>



Cheers,
- Matteo

__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to