[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pbuilder + DISPLAY (junit)



On Sat, 03 Nov 2012 14:30:35 +0100, Mathieu Malaterre wrote:

>   Has anyone dealt with such issues before ? I cannot run the test
> suite from pdebuild, it fails because of [1]. I could not find
> anything in the man page of pdebuild
> 
> Thanks.
> 
> [1].
>     [junit] Testcase:
> draw(org.apache.xmlgraphics.java2d.ps.PSGraphics2DTestCase):	Caused an
> ERROR
>     [junit] Can't connect to X11 window server using ':1.0' as the
> value of the DISPLAY variable.
>     [junit] java.lang.InternalError: Can't connect to X11 window
> server using ':1.0' as the value of the DISPLAY variable.


Does running it under xvfb help?

Cf. my patch for basf in
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=690152#20

Cheers,
gregor


-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Kurt Ostbahn & Kombo: 57 Engeln

Attachment: signature.asc
Description: Digital signature


Reply to: