Reviewers: Christian Plesner Hansen,

Description:
Reduce the amount of dates tested in date-parse test.  The test
occasionally times out on ARM hardware.



Please review this at http://codereview.chromium.org/174316

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
   M     test/mjsunit/date-parse.js


Index: test/mjsunit/date-parse.js
===================================================================
--- test/mjsunit/date-parse.js  (revision 2740)
+++ test/mjsunit/date-parse.js  (working copy)
@@ -250,8 +250,8 @@


  // Test that we can parse our own date format.
-// (Dates from 1970 to ~2070 with 95h steps.)
-for (var i = 0; i < 24 * 365 * 100; i += 95) {
+// (Dates from 1970 to ~2070 with 150h steps.)
+for (var i = 0; i < 24 * 365 * 100; i += 150) {
    var ms = i * (3600 * 1000);
    var s = (new Date(ms)).toString();
    assertEquals(ms, Date.parse(s), "parse own: " + s);



--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to