summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@digia.com>2014-09-15 12:13:27 +0200
committerKai Koehne <kai.koehne@digia.com>2014-09-17 08:56:57 +0200
commitca2d964745ab3951d2b0ae2769b2810721237da3 (patch)
tree6255af69b52f89b49494f19bc1c2255ff45d6453
parentc38d69ce551b670aac716b54e7bfabc671569c35 (diff)
downloadqtscript-ca2d964745ab3951d2b0ae2769b2810721237da3.tar.gz
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 <simon.hausmann@digia.com>
-rw-r--r--tests/auto/qscriptjstestsuite/expect_fail.txt2
1 files changed, 2 insertions, 0 deletions
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