Commit Graph

191 Commits

Author SHA1 Message Date
Mark Miller 66abdf4354 Changed strictOnly to onlyStrict 2011-09-24 11:13:02 -07:00
Mark Miller 2e320eddb7 Renamed .comment property to .commentary 2011-09-24 11:11:55 -07:00
Mark Miller 292ee6e92c Partial conversion of an older version of convert.js to Python. 2011-09-24 11:11:24 -07:00
Mark Miller 89ab56beb7 corresponding generated 2011-09-24 08:25:22 -07:00
Mark Miller 9c33379225 Added all tests added to repairES5.js since the last time I contributed SES-relevant tests to test262. 2011-09-23 23:50:15 -07:00
Mark Miller db516d2a64 Regenerated w fixed paths and ietc optimizations turned off 2011-09-23 19:33:08 -07:00
Mark Miller c79fbddc94 Just pure directory renaming 2011-09-23 18:09:41 -07:00
Mark Miller 176f5f8542 Generated adjusted tests 2011-09-23 17:42:36 -07:00
Mark Miller ea9a2f4c4c Adjusted converter 2011-09-23 17:41:23 -07:00
David Fugate 660a2a08eb Merge. 2011-09-23 16:28:58 -07:00
David Fugate 4fcd9a836d https://bugs.ecmascript.org/show_bug.cgi?id=34. Fixed 2011-09-23 16:27:46 -07:00
Mark Miller c590475e5d This time, really merged. Last one was outstanding changes preventing a merge. 2011-09-23 16:22:42 -07:00
Mark Miller 122550c5dd Merged 2011-09-23 16:21:12 -07:00
Mark Miller 23e84ad9a1 Automatically generated result of converting to the new agreed
(between David Fugate and I) canonical test262 test format
2011-09-23 16:16:28 -07:00
David Fugate 382f5c17e6 https://bugs.ecmascript.org/show_bug.cgi?id=5. Fixed 2011-09-23 15:10:53 -07:00
David Fugate 124d0c7848 Merge. 2011-09-22 12:56:52 -07:00
David Fugate 1b3e926837 Think I've come up with a fix for https://bugs.ecmascript.org/show_bug.cgi?id=11 (Date_library.js):
- juneDate and decemberDate were both one month off.  Fixed
- LocalTZA wasn't actually LocalTZA as defined in ES5.  If we were in DST when
  this was created, LocalTZA was off by one hour.  Fixed
- GetSundayInMonth was completely busted (i.e., arithmetic operations on the 'count'
  param which happens to be a string).  Fixed(?)
- DaylightSzavingTA was defined incorrectly.  It assumed the local time zone adjustment
  hadn't been accounted for.  This wasn't how UTC was calling it.  Fixed(?)
2011-09-22 11:58:06 -07:00
David Fugate ec5dce172d From the 'Run' tab, there's now a clickable 'Error' link showing precisely what
failed.
2011-09-22 11:43:39 -07:00
David Fugate 0937e10a03 Improved global scope 'missing error' error message. 2011-09-22 11:41:30 -07:00
David Fugate 17c67df352 Found more of Sputnik's date helper funcs. 2011-09-21 15:40:29 -07:00
Mark Miller 48f750deb6 Merged 2011-09-14 12:51:59 -07:00
Mark Miller 72d70024b9 Regenerated ietestcenter tests, taking into account info from IETCGlobalScope.js 2011-09-14 12:49:33 -07:00
Mark Miller aac6432ae1 Updated converter to process the new IETCGlobalScope.js file. 2011-09-14 12:43:53 -07:00
David Fugate 0b0736cbee S11.1.1_A2 (https://bugs.ecmascript.org/show_bug.cgi?id=179) 2011-09-14 10:45:46 -07:00
Mark Miller d403f61b52 Regenerating converted files post-merge 2011-09-14 00:39:29 -07:00
Mark Miller fc18852cda Merge 2011-09-13 23:34:34 -07:00
Mark Miller fd40a156e4 minor 2011-09-13 23:21:43 -07:00
Mark Miller b796d10c4b The generated converted test, as generated from fixed converter
applied to many fixed sources, corresponding to previous two commits
2011-09-13 22:37:44 -07:00
Mark Miller bd72486ff2 Fixed a very large number of bad test case sources, especially
gratuitous strict mode incompatibility. Too many to continue fixing
manually this way. Don't know what to do about that.
2011-09-13 22:12:02 -07:00
Mark Miller 9f7d9f6ab5 Fixed test262.py to handle strict options correctly.
Fixed convert.py to convert a "use strict" into an @strict_only
2011-09-13 22:06:04 -07:00
David Fugate f381e5a4b1 Re-gen'ed website. 2011-09-13 16:37:30 -07:00
David Fugate cbc587c61b Merge. 2011-09-13 16:22:37 -07:00
Mark Miller bba34a262e Reformatted to 80 columns. Inserted missing semicolons. Removed one
bogus semicolon. Except for the bogud semicolon, nothing should have
changed the meaning of the programs.
2011-09-13 01:08:50 -07:00
David Fugate 33a175689e Rebuilt website. 2011-09-12 13:34:49 -07:00
David Fugate 807a3ba1b7 Merge. 2011-09-12 11:25:23 -07:00
David Fugate 2c16b93983 Re-added tests disabled by https://bugs.ecmascript.org/show_bug.cgi?id=126. 2011-09-12 10:02:51 -07:00
Mark Miller 68d44bb52a Having restored the test262 sources of these to their original sputnik
form, they now convert correctly to tests that pass our
tools/test262.py test runner. The issue for all three was non-ascii content.
2011-09-12 08:34:41 -07:00
Mark Miller 9973643490 These are the three files that "diff" identified as "binary" files with differences from the Sputnik original. Restoring to their original Sputnik state. 2011-09-12 08:19:27 -07:00
Mark Miller dec1be4414 minor oversight 2011-09-11 22:04:55 -07:00
Mark Miller 77450b53f2 Unlike the current sputnikLib.js, framework.js cannot define $ERROR
etc, because the substitution logic in test262.py operates on the
source after prepending framework.js.

The plan is to replace sputnikLib.js with framework.js. Also, the
substitution logic in test262.py should probably be fixed to apply the
substitution before prepending.
2011-09-11 21:45:26 -07:00
Mark Miller a2ca5b512b Adapted the sputnik command line testRunner to a command line
testRunner, test262.py, that can run all the converted tests.
2011-09-11 21:12:01 -07:00
Mark Miller d0f40b63a2 Updating a generated directory.
assertTrue became assertTruthy. Canonical form of doc-comment attribute value source no longer have a leading colon and trailing semicolon. Any existing such are stripped during conversion.
2011-09-11 21:07:23 -07:00
Mark Miller 84fe57d3f4 Adding Sputnik's command-line runner to Google's contributions, in
preparation for deriving a test262 command-line runner.
2011-09-11 14:20:06 -07:00
Mark Miller 274b5514fa As David Fugate requested, changed the conversion of ietestcenter
style to append runTestCase(funcName); rather than
assertTrue(funcName.call(this)), giving the testing framework more
control.
2011-09-09 14:48:37 -07:00
Mark Miller 5c054fa412 First checkin of browserPlatform.js, even though it's far from ready. 2011-09-07 23:41:10 -07:00
Mark Miller 0065b15889 Just checking in the converted files, generated using the previous commit. 2011-09-07 21:47:38 -07:00
Mark Miller ca417c93dc Now generating the format David Fugate and I agreed on this
morning. The rewrite of "function testcase()..." now puts the
assertTrue at the bottom. Preconditions, names, and ids are
removed. And the path in the file is ignored, and is instead set
accurately according to where the file is found.
2011-09-07 21:42:49 -07:00
Mark Miller 57c450002d Removed an invalid "var". 2011-09-07 08:52:29 -07:00
Mark Miller d6df1d4a36 Fixed a typo precodition -> precondition 2011-09-07 08:48:46 -07:00
Mark Miller 9fab5f9a3a Much rougher: A first attempt at building the testcases for the website based on the new canonical test262 style testcase. 2011-09-07 00:02:16 -07:00