Matteo Bruni : d3dx9/tests: Avoid a test failure on Vista testbot.
Alexandre Julliard
julliard at winehq.org
Thu Apr 4 15:38:09 CDT 2019
Module: wine
Branch: master
Commit: ccdb74d81ac4a95aa87414f6459a8b44d451358a
URL: https://source.winehq.org/git/wine.git/?a=commit;h=ccdb74d81ac4a95aa87414f6459a8b44d451358a
Author: Matteo Bruni <mbruni at codeweavers.com>
Date: Thu Apr 4 16:54:33 2019 +0200
d3dx9/tests: Avoid a test failure on Vista testbot.
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/d3dx9_36/tests/math.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/d3dx9_36/tests/math.c b/dlls/d3dx9_36/tests/math.c
index becd55d..3b7acfc 100644
--- a/dlls/d3dx9_36/tests/math.c
+++ b/dlls/d3dx9_36/tests/math.c
@@ -414,7 +414,8 @@ static void D3DXMatrixTest(void)
ret = D3DXMatrixInverse(&gotmat, &determinant, &mat2);
ok(!ret, "Unexpected return value %p.\n", ret);
expect_matrix(&expectedmat, &gotmat, 1);
- ok(compare_float(determinant, 5.0f, 0), "Unexpected determinant %.8e.\n", determinant);
+ ok(compare_float(determinant, 5.0f, 0) || broken(!determinant), /* Vista 64 bit testbot */
+ "Unexpected determinant %.8e.\n", determinant);
/*____________D3DXMatrixIsIdentity______________*/
expected = FALSE;
More information about the wine-cvs
mailing list