Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] useUIHarness=false not headless

The behaviour of UI/SWT plug-ins is completely defined by the bundles themselves. There is nothing that Tycho can do about them.

 

If you expect a particular behaviour of the bundles, you should contact the bundle authors.

 

Regards

Tobias

 

From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Justin Georgeson
Sent: Sonntag, 27. Januar 2013 04:51
To: tycho-user@xxxxxxxxxxx
Subject: [tycho-user] useUIHarness=false not headless

 

I expected that setting useUIHarness to false for Tycho-surefire, thus having the tests run by the org.eclipse.tycho.surefire.osgibooter.headlesstest application, that any test which requires a display should fail due to lack of display. I am seeing that instead all such tests pass instead. Our automated builds run on headless VMs with no X server running, and these tests that passed on the developers workstation before being committed to SVN now fail the build. How do I force that to emulate the automated build environment? I can unset the DISPLAY variable on Linux, but that doesn’t help for people running on Windows. A configuration setting in the pom.xml would be preferred rather than platform-specific solutions.

 

I’m aware I can just run a VNC server on the build machine instead but we don’t want to run any tests which require a display during this part of the build process.

 

 


Back to the top