Bug#690152: bsaf: FTBFS: Test, org.jdesktop.application.TaskMonitorTest failed

Matteo Vescovi matteo.vescovi at yahoo.co.uk
Sat Nov 3 17:12:35 UTC 2012


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



More information about the pkg-java-maintainers mailing list