Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 291680

Summary: [eclipse-build] Straighten out headless test running on Debian
Product: [Tools] Linux Tools Reporter: Andrew Overholt <overholt>
Component: eclipse-buildAssignee: Packaging Tools Inbox <linux.packagingtools-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: bdrung, doko, krzysztof.daniel, mrazec, niels
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on:    
Bug Blocks: 286650    

Description Andrew Overholt CLA 2009-10-07 16:40:58 EDT
runtests.sh currently looks for Xvnc in /usr/bin or /usr/bin/X11.  I couldn't find either of these binaries in a Debian package.  I did, however, find Xvnc4.  This seems to work, but I can't make vncviewer on the same Debian system connect to it.  I _can_, however, make my Fedora vncviewer (supposedly tigervnc from http://www.tigervnc.com) connect to it via ssh.

We should either figure this out or add Xvfb as an option.  Also, we should ensure that there are instructions on what packages are  needed and how to connect with vncviewer to watch them in case they're stuck or something.
Comment 1 Matthias Klose CLA 2009-10-07 18:11:24 EDT
For tests running on the build daemons, xvfb-run <command> is usually used without problems. It's in the xvfb package.
Comment 2 Andrew Overholt CLA 2009-10-08 10:49:52 EDT
Great, please attach a patch for runtests.sh that allows it to use Xvnc as it currently does _if_ Xvnc is present and use xvfb-run as you say if _it_ is present.  Thanks!

PSF [1] for eclipse-build code (runtests.sh is in eclipse-build/):

http://dev.eclipse.org/svnroot/technology/org.eclipse.linuxtools/releng/trunk/org.eclipse.linuxtools.releng/psfs/eclipse-build.psf

http://wiki.eclipse.org/PSF
Comment 3 Andrew Overholt CLA 2010-08-03 11:35:40 EDT
Any news here?
Comment 4 Benjamin Drung CLA 2010-08-03 18:29:06 EDT
I took the latest svn checkout and ran ant runTests:

[36.5 MiB log]
BUILD SUCCESSFUL
Total time: 152 minutes 55 seconds
Comment 5 Andrew Overholt CLA 2010-08-04 09:33:54 EDT
I guess we're good, then :)
Comment 6 Niels Thykier CLA 2011-02-03 17:39:49 EST
Actually I believe this is not fixed yet. So far I have been unsuccessful at running the tests, so I think this should be reopened.

~Niels
Comment 7 Andrew Overholt CLA 2011-02-04 09:11:06 EST
Reopening.
Comment 8 Krzysztof Daniel CLA 2013-02-18 06:26:39 EST
Eclipse build system has changed and eclipse-build will serve only as a helper. There will be no logic there.

This bug will be closed soon unless there is some objection.