[PATCH 04/10] d3dx9/tests: Use compare_float() in test_D3DXSHEvalSphericalLight().

Alexandre Julliard julliard at winehq.org
Thu May 4 18:03:35 CDT 2017


Henri Verbeet <hverbeet at codeweavers.com> writes:

> Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
> ---
>  dlls/d3dx9_36/tests/math.c | 171 ++++++++++++++++++++++++---------------------
>  1 file changed, 92 insertions(+), 79 deletions(-)

This one is failing here:

../../../tools/runtest -q -P wine -T ../../.. -M d3dx9_36.dll -p d3dx9_36_test.exe.so math && touch math.ok
math.c:3194: Test failed: Red: case 1, order 5: expected[20] = 5.29080920e-04, received 5.29033889e-04.
math.c:3205: Test failed: Green: case 1, order 5: expected[20] = 8.09182529e-04, received 8.09110585e-04.
math.c:3217: Test failed: Blue: case 1, order 5: expected[20] = 1.08928420e-03, received 1.08918734e-03.
math.c:3194: Test failed: Red: case 1, order 6: expected[20] = 5.29080920e-04, received 5.29033889e-04.
math.c:3205: Test failed: Green: case 1, order 6: expected[20] = 8.09182529e-04, received 8.09110585e-04.
math.c:3217: Test failed: Blue: case 1, order 6: expected[20] = 1.08928420e-03, received 1.08918734e-03.
math.c:3194: Test failed: Red: case 2, order 5: expected[20] = -7.14543217e-04, received -7.14479480e-04.
math.c:3217: Test failed: Blue: case 2, order 5: expected[20] = -1.47111830e-03, received -1.47098722e-03.
math.c:3194: Test failed: Red: case 2, order 6: expected[20] = -7.14543217e-04, received -7.14479480e-04.
math.c:3217: Test failed: Blue: case 2, order 6: expected[20] = -1.47111830e-03, received -1.47098722e-03.
Makefile:340: recipe for target 'math.ok' failed
make[1]: *** [math.ok] Error 10

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list