WineTest does not run the vcomp tests

Francois Gouget fgouget at free.fr
Wed Sep 27 04:18:19 CDT 2017


So WineTest is not running the vcomp tests. What happens is this:

* It parses the vcomp_test.exe filename and concludes that this tests 
  the vcomp dll.

* It does a LoadLibraryExA("vcomp.dll", NULL, LOAD_LIBRARY_AS_DATAFILE)
  which fails (as expected) and concludes that the dll is missing:

    vcomp=dll is missing

* Since the dll is missing WineTest skips the vcomp tests.

According to Dan Kegel this is a manifest / activation context issue and 
he sent a patch for it [1]. However the patch was for the TestBot [2], 
not WineTest, and as far as I can tell it's not working.

Furthermore WineTest already has activation context code that seems 
equivalent to Dan Kegel's patch.

Does anyone know how to fix WineTest?


[1] https://bugs.winehq.org/show_bug.cgi?id=31609
    https://www.winehq.org/pipermail/wine-patches/2012-September/117631.html

[2] Paradoxically the TestBot has no problem running the vcomp tests now 
    that they dynamically load the vcomp dll. That's because the TestBot 
    makes no assumption based on the executable filename since one can 
    upload test binaries that don't follow any naming scheme. So now 
    the test dynamically loads vcomp.dll the TestBot cannot check for 
    it.

-- 
Francois Gouget <fgouget at free.fr>              http://fgouget.free.fr/
May your Tongue stick to the Roof of your Mouth with the Force of a Thousand Caramels.



More information about the wine-devel mailing list