Right way to cope with user error in make test?

Jacek Caban jacek at codeweavers.com
Sat May 17 02:46:09 CDT 2008


Jeremy White wrote:
>
> I think in my case the problem is a bit different; I have the library -
> what I don't have are the development headers.  Thus the linking all
> works, but HAVE_LIBXSLT is not defined, so the transform function
> ends up as a stub, and goes on to fail.
>
> And I still don't know a right answer.
>
> The attached patch is one approach - skip the tests in this case.
>
> Does this seem like a reasonable approach to folks?
>

Such checks should be made in runtime and tests should depend only on 
WinAPI stuff. I'd suggest something like an attached patch.


Jacek
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: libxslt.diff
Url: http://www.winehq.org/pipermail/wine-devel/attachments/20080517/02bc9626/attachment-0001.txt 


More information about the wine-devel mailing list