[programs/winetest] Extend PATH if we have dll's that only come with .NET (Try3)

Paul Vriens paul.vriens.wine at gmail.com
Wed Feb 25 04:57:51 CST 2009


Hi,

Try2 only changes the PATH variable for the relevant tests. The current path is
retrieved only once and set back if it was changed before the tests. I'm still
changing the parent environment before doing a CreateProcess (it's not worth the
effort to pass an appropriate environment block to CreateProcess).

Try3 used the explicit GetEnvironmentVariableA for consistency sake.

This makes sure that if we have a dll (gdiplus for example doesn't need to be in
the path) that's only provided via .NET it can still be found. Now both our
extraction (and the generation of the subtest list) and the real tests will find
the dll.

Changelog
   Extend PATH if we have dll's that only come with .NET

-- 
Cheers,

Paul.







-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0002-Extend-PATH-if-we-have-dll-s-that-only-come-with-.NE.patch
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20090225/bc304326/attachment.txt 


More information about the wine-patches mailing list