How to run UI tests on hudson.eclipse.org server (on a server without a window manager activated by default)
I'm currently trying to move GMF-Runtime build to Tycho (following GMF-Tooling). I asked for a job on the hudson.eclipse.org server for this new fast and simple build but I encountered an issue. And I found a solution.
GMF is a graphical framework, so there are User Interface tests. Unfortunately, they failed with the following error - which you can find in .log of the workspace/.metadata folder - when you run any test on the eclipse server:
I spent some time on Google and found the solution... in several chunks. So I put them together to provide the solution here in a single piece:
- Check Run Xvnc during build (and don't bother to check take screenshot, it doesn't work)
Simple but it's all in one place. Hope it will help you.
And - talking about help - any help on understanding why these three GMF tests are still failing is very welcome.