testbot/lib: If we cannot open the log file, then log to stderr.

Dmitry Timoshkov dmitry at baikal.ru
Wed Oct 17 02:20:38 CDT 2012

Christian Costa <titan.costa at gmail.com> wrote:

> >> Indeed that would be great to be able to download some files along with the
> >> test.
> >> Typically for me avi files and dlls (or .drv) would be great ! :D
> > Just do what other tests do: embed all the required data into the test:
> > be it a PE executable, TIFF/GIF/PNG/etc image, or even a RIFF/AVI file.
> > That way the tests don't depend on any external files, or abilities in
> > the tested environment to download them.
> >
> It seems a bit complicated for a test I will run only once and not 
> intended to be part of the test suite.

Another approach is how gdi32/tests/font.c embeds wine_test.ttf font file
using RCDATA resource. That just adds a simple extraction helper and is
pretty trivial and universal for any kind of data file.


More information about the wine-devel mailing list