[00/11] ddraw/tests: Cleanup existing tests a bit and add new visual tests.

Octavian Voicu octavian.voicu at gmail.com
Mon Nov 7 16:27:03 CST 2011


All patches deal with tests in ddraw/tests/visual.c.
They reproduce part of the issue observed in bug 11819 and highlight several
other incompatibilities in Wine's implementation of D3D2 and D3D3.

First 3 patches do a bit of cleanup and rename/move some variables to make
them more consistent.

Next 3 patches fix some test failures that happen especially on VMware and
still tries to run other tests if first ones fail.

Next 5 patches add new tests for D3D2, D3D3, and D3D7.

The core of tests for the different D3D versions is very similar. Differences
come from the features available on the various interfaces. I summed up what
the tests for the D3D3 and D3D7 interfaces have different from the previous
version of the interface in the commit message for the respective patches.

Tests pass on all testbot VMs and I also tested on one native configuration
that I have available (XP SP3 + ATI Mobility Radeon X2300).

New tests add 13 TODOs. Currently working on fixes and will send them
after this series goes in.

Octavian Voicu (11):
  ddraw/tests: Fix a couple of copy-paste typos in test messages.
  ddraw/tests: Rename local vars for ddraw surfaces to reflect their
    version.
  ddraw/tests: Make ddraw and d3d local vars that are used in more than
    one test global.
  ddraw/tests: Fix test failure/crash on VMware.
  ddraw/tests: Add win_skip when certain interfaces are not available.
  ddraw/tests: Don't bail out after first test failure.
  ddraw/tests: Add infrastructure for D3D2 visual tests.
  ddraw/tests: Add assorted D3D2 DrawPrimitive/visual tests.
  ddraw/tests: Add infrastructure for D3D3 visual tests.
  ddraw/tests: Add assorted D3D3 DrawPrimitive/visual tests.
  ddraw/tests: Add assorted D3D7 DrawPrimitive/visual tests.

 dlls/ddraw/tests/visual.c | 1264 ++++++++++++++++++++++++++++++++++++++++-----
 1 files changed, 1139 insertions(+), 125 deletions(-)

-- 
1.7.4.1




More information about the wine-patches mailing list