Module: wine Branch: master Commit: ccdb74d81ac4a95aa87414f6459a8b44d451358a URL: https://source.winehq.org/git/wine.git/?a=commit;h=ccdb74d81ac4a95aa87414f64...
Author: Matteo Bruni mbruni@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@codeweavers.com Signed-off-by: Alexandre Julliard julliard@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;