Title: [148796] trunk/PerformanceTests/SunSpider
- Revision
- 148796
- Author
- [email protected]
- Date
- 2013-04-20 13:11:25 -0700 (Sat, 20 Apr 2013)
Log Message
SunSpider/string-tagcloud should be more lenient in validating its results, since they depend on Math.log, which isn't formally specified
https://bugs.webkit.org/show_bug.cgi?id=114895
Reviewed by Michael Saboff.
* tests/sunspider-1.0/string-tagcloud.js:
Modified Paths
Diff
Modified: trunk/PerformanceTests/SunSpider/ChangeLog (148795 => 148796)
--- trunk/PerformanceTests/SunSpider/ChangeLog 2013-04-20 19:55:44 UTC (rev 148795)
+++ trunk/PerformanceTests/SunSpider/ChangeLog 2013-04-20 20:11:25 UTC (rev 148796)
@@ -1,3 +1,12 @@
+2013-04-19 Filip Pizlo <[email protected]>
+
+ SunSpider/string-tagcloud should be more lenient in validating its results, since they depend on Math.log, which isn't formally specified
+ https://bugs.webkit.org/show_bug.cgi?id=114895
+
+ Reviewed by Michael Saboff.
+
+ * tests/sunspider-1.0/string-tagcloud.js:
+
2013-04-18 Filip Pizlo <[email protected]>
Whenever it is cheap and non-invasive, SunSpider tests should validate their results to ensure that the browser runs them correctly
Modified: trunk/PerformanceTests/SunSpider/tests/sunspider-1.0/string-tagcloud.js (148795 => 148796)
--- trunk/PerformanceTests/SunSpider/tests/sunspider-1.0/string-tagcloud.js 2013-04-20 19:55:44 UTC (rev 148795)
+++ trunk/PerformanceTests/SunSpider/tests/sunspider-1.0/string-tagcloud.js 2013-04-20 20:11:25 UTC (rev 148796)
@@ -263,9 +263,9 @@
var tagcloud = makeTagCloud(tagInfo);
-var expectedLength = 315241;
+var expectedMinLength = 315000;
-if (tagcloud.length != expectedLength)
- throw "ERROR: bad result: expected length " + expectedLength + " but got " + tagcloud.length;
+if (tagcloud.length < expectedMinLength)
+ throw "ERROR: bad result: expected length at least " + expectedMinLength + " but got " + tagcloud.length;
tagInfo = null;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes