From ca2d964745ab3951d2b0ae2769b2810721237da3 Mon Sep 17 00:00:00 2001 From: Kai Koehne Date: Mon, 15 Sep 2014 12:13:27 +0200 Subject: Tests: Blacklist Math.sqrt(-0) for MinGW MinGW's sqrt(-0.) returns NaN instead of 0.0. Upstream bug https://sourceforge.net/p/mingw-w64/bugs/425/ Change-Id: I0fc16c4e53ea5b4b0f799a4a9cee4052f8b8f293 Reviewed-by: Simon Hausmann --- tests/auto/qscriptjstestsuite/expect_fail.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/auto/qscriptjstestsuite/expect_fail.txt b/tests/auto/qscriptjstestsuite/expect_fail.txt index 89aeee3..25a0519 100644 --- a/tests/auto/qscriptjstestsuite/expect_fail.txt +++ b/tests/auto/qscriptjstestsuite/expect_fail.txt @@ -145,6 +145,8 @@ ecma/Math/15.8.2.5.js | Math.atan2(Infinity, Infinity) ecma/Math/15.8.2.5.js | Math.atan2(Infinity, -Infinity) ecma/Math/15.8.2.5.js | Math.atan2(-Infinity, Infinity) ecma/Math/15.8.2.5.js | Math.atan2(-Infinity, -Infinity) +ecma/Math/15.8.2.17.js | Math.sqrt(-0) +ecma/Math/15.8.2.17.js | Infinity/Math.sqrt(-0) [Q_OS_SOLARIS] ecma/Expressions/11.13.2-2.js | VAR1 = -0; VAR2= Infinity; VAR2 /= VAR1 -- cgit v1.2.1