Towards leveraging app build and unit tests as a way to test wine

Dan Kegel dank at kegel.com
Sat Oct 17 00:12:53 CDT 2009


On Wed, Aug 26, 2009 at 9:29 AM, Dan Kegel <dank at kegel.com> wrote:
>>> Wine is far enough along that it ought to be
>>> able to build and run unit test suites from
>>> apps like Inkscape, Firefox, and OpenOffice ...
>>> Next step: grabbing firefox source and building.
>
> I've collected some of this info in
> http://wiki.winehq.org/UnitTestSuites
> and
> http://wiki.winehq.org/DanKegel

Well, as I mentioned a week or two ago,
Firefox builds now (as long as you don't use /Zi,
see http://bugs.winehq.org/show_bug.cgi?id=19781
for what's happening there).

As for test suites: I've been playing around with Chromium's
lately.
http://bugs.winehq.org/show_bug.cgi?id=20390 describes
how to download and run Chromium's base, ipc, net, and unit
test suites without having to build anything.  I've filed
bugs for a bunch of the problems it's turned up, but
I think there are more crypto problems that will emerge
once Juan fixes http://bugs.winehq.org/show_bug.cgi?id=20370.
As expected, some of the Chromium tests that fail in Wine
are really easy to translate into Wine tests, and easy to fix.
(See for instance http://bugs.winehq.org/show_bug.cgi?id=20337
and http://bugs.winehq.org/show_bug.cgi?id=20368 ).
I've even tried running under Valgrind, and filed a few bugs
for some of the problems seen there, but in general it's pretty clean.

If anyone's interested, I can provide precompiled versions
of more of Chromium's test suite.  Finding Wine bugs with
these isn't quite like shooting fish in a barrel, but it's close :-)
- Dan



More information about the wine-devel mailing list