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

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


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

diff --git a/dlls/d3d8/tests/visual.c b/dlls/d3d8/tests/visual.c
index 5ff96d4070..588a6293c7 100644
--- a/dlls/d3d8/tests/visual.c
+++ b/dlls/d3d8/tests/visual.c
@@ -6442,8 +6442,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 = IDirect3DDevice8_Present(device, NULL, NULL, NULL, NULL);
@@ -6472,8 +6472,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 = IDirect3DDevice8_Present(device, NULL, NULL, NULL, NULL);
-- 
2.13.5




More information about the wine-patches mailing list