Respond to Running tests that require an X server
Note: you're not logged in. To identify yourself, please login or PGP sign your message (either clearsign or ASCII-armored is OK).
Caveat poster: if you decide to digitally sign your post, add something to it mentioning that it is attached to this article. Otherwise, someone could just paste it into another discussion, out of context, and the signature would still validate.
Re: Running tests that require an X server
Written by Anonymous Coward (0) on 2009-5-3 (日) at 11:11 pm
I encountered the same problem (and the same solution) a few years ago.
I created Test::NeedsDisplay which goes some way towards automating the spawning of xvfb-run when the host has no
DISPLAY.