[PATCH v2 2/6] windowscodecs/tests: Fix tests for CopyBlocks.

Ziqing Hui zhui at codeweavers.com
Wed Aug 26 03:18:48 CDT 2020


Using strncmp() to compare pixel data buffer leads to incorrect tests.
Also, we should clear the pixel data buffer before editing and comparing them.

Signed-off-by: Ziqing Hui <zhui at codeweavers.com>
---

v2: This is a new patch in patch set.
This patch fixes the test failure in previous patch.

 dlls/windowscodecs/tests/ddsformat.c | 24 +++++++++++++++++++++++-
 1 file changed, 23 insertions(+), 1 deletion(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-windowscodecs-tests-Fix-tests-for-CopyBlocks.patch
Type: text/x-patch
Size: 3727 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20200826/005f2fda/attachment.bin>


More information about the wine-devel mailing list