[PATCH] d3d10/tests: Improve compare_matrix() ok() messages.
Matteo Bruni
mbruni at codeweavers.com
Fri Mar 27 15:05:10 CDT 2020
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
---
dlls/d3d10/tests/effect.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/d3d10/tests/effect.c b/dlls/d3d10/tests/effect.c
index 26750ab421e..fc0b8180b97 100644
--- a/dlls/d3d10/tests/effect.c
+++ b/dlls/d3d10/tests/effect.c
@@ -5168,7 +5168,8 @@ static void compare_matrix(const char *name, unsigned int line, struct d3d10_mat
for (col = 0; col < col_count; ++col)
{
tmp = !transpose ? b->m[row][col] : b->m[col][row];
- ok(a->m[row][col] == tmp, "Variable %s, line %d, got unexpected value 0x%08x.\n", name, line,
+ ok_(__FILE__, line)(a->m[row][col] == tmp,
+ "Variable %s (%u, %u), got unexpected value 0x%08x.\n", name, row, col,
*(unsigned int *)&tmp);
}
}
--
2.24.1
More information about the wine-devel
mailing list