[PATCH 3/5] d3d9/tests: Trace the current test in test_signed_formats().

Matteo Bruni mbruni at codeweavers.com
Fri Sep 8 11:44:09 CDT 2017


Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
---
 dlls/d3d9/tests/visual.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/dlls/d3d9/tests/visual.c b/dlls/d3d9/tests/visual.c
index 822e6e4b3b..55047d0f4b 100644
--- a/dlls/d3d9/tests/visual.c
+++ b/dlls/d3d9/tests/visual.c
@@ -18958,8 +18958,8 @@ static void test_signed_formats(void)
 
                     color = getPixelColor(device, 80 + 160 * x, 60 + 120 * y);
                     ok(color_match(color, expected_color, 1) || broken(r200_broken),
-                            "Expected color 0x%08x, got 0x%08x, format %s, location %ux%u.\n",
-                            expected_color, color, formats[i].name, x, y);
+                            "Expected color 0x%08x, got 0x%08x, format %s, test %u, location %ux%u.\n",
+                            expected_color, color, formats[i].name, j, x, y);
                 }
             }
             hr = IDirect3DDevice9_Present(device, NULL, NULL, NULL, NULL);
@@ -18988,8 +18988,8 @@ static void test_signed_formats(void)
                     color = getPixelColor(device, 80 + 160 * x, 60 + 120 * y);
                     ok(color_match(color, expected_color, formats[i].slop)
                             || broken(color_match(color, expected_color, formats[i].slop_broken)),
-                            "Expected color 0x%08x, got 0x%08x, format %s, location %ux%u.\n",
-                            expected_color, color, formats[i].name, x, y);
+                            "Expected color 0x%08x, got 0x%08x, format %s, test %u, location %ux%u.\n",
+                            expected_color, color, formats[i].name, j, x, y);
                 }
             }
             hr = IDirect3DDevice9_Present(device, NULL, NULL, NULL, NULL);
@@ -19037,8 +19037,8 @@ static void test_signed_formats(void)
                     color = getPixelColor(device, 80 + 160 * x, 60 + 120 * y);
                     ok(color_match(color, expected_color, formats[i].slop)
                             || broken(color_match(color, expected_color, formats[i].slop_broken)),
-                            "Expected color 0x%08x, got 0x%08x, format %s, location %ux%u.\n",
-                            expected_color, color, formats[i].name, x, y);
+                            "Expected color 0x%08x, got 0x%08x, format %s, test %u, location %ux%u.\n",
+                            expected_color, color, formats[i].name, j, x, y);
                 }
             }
             hr = IDirect3DDevice9_Present(device, NULL, NULL, NULL, NULL);
-- 
2.13.5




More information about the wine-patches mailing list