logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: Testing for installed headers (and dictionary): msg#00118

Subject: Re: Testing for installed headers (and dictionary)
On Thu, May 17, 2007 at 10:49:17PM +0200, A. Pagaltzis wrote:
> * Bill Moseley <moseley@xxxxxxxx> [2007-05-17 07:10]:
> > The aspell binary can dump the dictionary names, but someone
> > might only have libaspell installed and not the binary. I'm not
> > aware of any other way to detect the dictionary other than
> > trying to use it.
> 
> Put the load attempt within `eval{}` and `plan skip_all` on
> failure?

I thought of that, but it kind of defeats the purpose of the tests in
the first place.

End up with the situation where make test fails on systems where the
module probably works fine, vs. where make test passes on systems
where the required dependencies are not installed.  ;)

-- 
Bill Moseley
moseley@xxxxxxxx





Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>