2 math sputnik test fail on 32 bit
authorallan.jensen@digia.com <allan.jensen@digia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 17 May 2013 12:30:06 +0000 (12:30 +0000)
committerallan.jensen@digia.com <allan.jensen@digia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 17 May 2013 12:30:06 +0000 (12:30 +0000)
https://bugs.webkit.org/show_bug.cgi?id=88519

Reviewed by Jocelyn Turcotte.

Update the expected values to match recent changes in test262.
The old tested values are considered outside the validation range.

* platform/efl/TestExpectations:
* platform/gtk/TestExpectations:
* platform/qt/TestExpectations:
* sputnik/Conformance/15_Native_Objects/15.8_Math/15.8.2/15.8.2.16_sin/S15.8.2.16_A7.html:
* sputnik/Conformance/15_Native_Objects/15.8_Math/15.8.2/15.8.2.18_tan/S15.8.2.18_A7.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@150250 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/platform/efl/TestExpectations
LayoutTests/platform/gtk/TestExpectations
LayoutTests/platform/qt/TestExpectations
LayoutTests/sputnik/Conformance/15_Native_Objects/15.8_Math/15.8.2/15.8.2.16_sin/S15.8.2.16_A7.html
LayoutTests/sputnik/Conformance/15_Native_Objects/15.8_Math/15.8.2/15.8.2.18_tan/S15.8.2.18_A7.html

index b8335f9..40a5149 100644 (file)
@@ -1,3 +1,19 @@
+2013-05-17  Allan Sandfeld Jensen  <allan.jensen@digia.com>
+
+        2 math sputnik test fail on 32 bit
+        https://bugs.webkit.org/show_bug.cgi?id=88519
+
+        Reviewed by Jocelyn Turcotte.
+
+        Update the expected values to match recent changes in test262.
+        The old tested values are considered outside the validation range.
+
+        * platform/efl/TestExpectations:
+        * platform/gtk/TestExpectations:
+        * platform/qt/TestExpectations:
+        * sputnik/Conformance/15_Native_Objects/15.8_Math/15.8.2/15.8.2.16_sin/S15.8.2.16_A7.html:
+        * sputnik/Conformance/15_Native_Objects/15.8_Math/15.8.2/15.8.2.18_tan/S15.8.2.18_A7.html:
+
 2013-05-17  Gabor Abraham  <abrhm@inf.u-szeged.hu>
 
         [Qt] Unreviewed gardening. Added platform specific expected after r143389.
index f13c868..e903506 100644 (file)
@@ -374,8 +374,6 @@ Bug(EFL) fast/dom/HTMLTemplateElement/cycles-in-shadow.html [ WontFix ]
 Bug(EFL) inspector/elements/update-shadowdom.html [ WontFix ]
 
 # Rounding issues when running on 32-bits machines.
-webkit.org/b/43568 sputnik/Conformance/15_Native_Objects/15.8_Math/15.8.2/15.8.2.16_sin/S15.8.2.16_A7.html
-webkit.org/b/43568 sputnik/Conformance/15_Native_Objects/15.8_Math/15.8.2/15.8.2.18_tan/S15.8.2.18_A7.html
 svg/css/stars-with-shadow.html
 svg/W3C-SVG-1.1/paths-data-03-f.svg
 
index c34a569..8072e49 100644 (file)
@@ -843,8 +843,6 @@ webkit.org/b/114789 fast/events/page-visibility-transition-test.html [ Timeout ]
 webkit.org/b/84857 fast/repaint/moving-shadow-on-container.html [ Failure Pass ]
 webkit.org/b/84857 fast/repaint/moving-shadow-on-path.html [ Failure Pass ]
 webkit.org/b/80210 security/block-test.html [ Failure Pass ]
-webkit.org/b/43568 sputnik/Conformance/15_Native_Objects/15.8_Math/15.8.2/15.8.2.16_sin/S15.8.2.16_A7.html [ Failure Pass ]
-webkit.org/b/43568 sputnik/Conformance/15_Native_Objects/15.8_Math/15.8.2/15.8.2.18_tan/S15.8.2.18_A7.html [ Failure Pass ]
 webkit.org/b/62204 svg/W3C-SVG-1.1/paths-data-03-f.svg [ Failure Pass ]
 Bug(GTK) svg/css/composite-shadow-example.html [ Failure Pass ]
 Bug(GTK) svg/css/composite-shadow-with-opacity.html [ Failure Pass ]
index f436015..ee260a7 100644 (file)
@@ -898,11 +898,6 @@ sputnik/Unicode/Unicode_510/S7.6_A3.2.html
 sputnik/Unicode/Unicode_510/S7.6_A5.3_T1.html
 sputnik/Unicode/Unicode_510/S7.6_A5.3_T2.html
 
-# [Qt] 2 math sputnik test fail on 32 bit
-# https://bugs.webkit.org/show_bug.cgi?id=88519
-sputnik/Conformance/15_Native_Objects/15.8_Math/15.8.2/15.8.2.16_sin/S15.8.2.16_A7.html
-sputnik/Conformance/15_Native_Objects/15.8_Math/15.8.2/15.8.2.18_tan/S15.8.2.18_A7.html
-
 # =========================================================================== #
 # Fluctuating/flakey tests
 # =========================================================================== #
index 9e05823..c1436dc 100644 (file)
@@ -168,7 +168,11 @@ x[59] = 5.88425290672373970000;
 x[60] = 5.98398600683770090000;
 x[61] = 6.08371910695166300000;
 x[62] = 6.18345220706562420000;
-x[63] = 6.28318530717958620000;
+// Result is implementation dependent and varies on platform as you approach limits. 
+// e.g. Output approaches zero as input approaches PI * 2 (6.28318530717958647).
+// The value of 6.2831 for x[63] is chosen below as an arbitrary cut off point for 
+// expecting a result within the validation's tolerance range.
+x[63] = 6.2831;
 
 
 var y = new Array();
@@ -235,7 +239,7 @@ y[59] = -0.38843479627469474000;
 y[60] = -0.29475517441090471000;
 y[61] = -0.19814614319939772000;
 y[62] = -0.09956784659581728600;
-y[63] = -0.0000000000000002449293598294706400;
+y[63] = -0.00008530717948287973;
 
 
 var val;
index 9242ce0..dca2671 100644 (file)
@@ -105,7 +105,11 @@ function isEqual(num1, num2)
 // CHECK#1
 vnum = 64;
 var x = new Array();
-x[0] = -1.57079632679489660000;
+// Result is implementation dependent and varies on platform as you approach limits. 
+// e.g. Output approaches Infinity as input approaches PI / 2 (1.5707963267948966)
+// The value of 1.5707 for x[0] is chosen below as an arbitrary cut off point for 
+// expecting a result within the validation's tolerance range.
+x[0] = -1.5707;
 x[1] = -1.52092977673791570000;
 x[2] = -1.47106322668093490000;
 x[3] = -1.42119667662395410000;
@@ -168,12 +172,12 @@ x[59] = 1.37133012656697330000;
 x[60] = 1.42119667662395390000;
 x[61] = 1.47106322668093490000;
 x[62] = 1.52092977673791550000;
-x[63] = 1.57079632679489660000;
+x[63] = 1.5707;
 
 
 
 var y = new Array();
-y[0] = -16331239353195370.00000000000000000000;
+y[0] = -10381.32741756979;
 y[1] = -20.03689788997828100000;
 y[2] = -9.99349498241742220000;
 y[3] = -6.63456649978931170000;
@@ -236,7 +240,7 @@ y[59] = 4.94671494494940060000;
 y[60] = 6.63456649978930190000;
 y[61] = 9.99349498241742220000;
 y[62] = 20.03689788997819200000;
-y[63] = 16331239353195370.00000000000000000000;
+y[63] = 10381.32741756979;
 
 
 var val;