Reduce the amount of dates tested in date-parse test. The test occasionally times out on ARM hardware.
Review URL: http://codereview.chromium.org/174316 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2741 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
ed05df0053
commit
781898e91a
@ -250,8 +250,8 @@ testCasesMisc.forEach(testDateParseMisc);
|
|||||||
|
|
||||||
|
|
||||||
// Test that we can parse our own date format.
|
// Test that we can parse our own date format.
|
||||||
// (Dates from 1970 to ~2070 with 95h steps.)
|
// (Dates from 1970 to ~2070 with 150h steps.)
|
||||||
for (var i = 0; i < 24 * 365 * 100; i += 95) {
|
for (var i = 0; i < 24 * 365 * 100; i += 150) {
|
||||||
var ms = i * (3600 * 1000);
|
var ms = i * (3600 * 1000);
|
||||||
var s = (new Date(ms)).toString();
|
var s = (new Date(ms)).toString();
|
||||||
assertEquals(ms, Date.parse(s), "parse own: " + s);
|
assertEquals(ms, Date.parse(s), "parse own: " + s);
|
||||||
|
Loading…
Reference in New Issue
Block a user