[PATCH 1/2] d3dcompiler_43/tests: Load d3dcompiler_43.dll dynamically.

Jacek Caban jacek at codeweavers.com
Thu Jul 19 07:36:21 CDT 2018


Signed-off-by: Jacek Caban <jacek at codeweavers.com>
---

My motivation for this patch is the later patch.

Another nice thing about this is that we could easily run tests on
multiple d3dcompiler versions. For example, some tests currently fail if
they are ran with d3dcompiler_47. We could just load different DLL
versions in a loop and run tests multiple times.

 dlls/d3dcompiler_43/tests/Makefile.in  |   2 +-
 dlls/d3dcompiler_43/tests/asm.c        |  75 ++++++++++++--------
 dlls/d3dcompiler_43/tests/blob.c       | 122
+++++++++++++++++++--------------
 dlls/d3dcompiler_43/tests/hlsl.c       |  32 +++++++--
 dlls/d3dcompiler_43/tests/reflection.c |  50 +++++++++-----
 5 files changed, 179 insertions(+), 102 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-d3dcompiler_43-tests-Load-d3dcompiler_43.dll-dynamica.diff
Type: text/x-patch
Size: 40455 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20180719/1a129222/attachment-0001.bin>


More information about the wine-devel mailing list