4585 Commits

Author SHA1 Message Date
Mark Miller
23e9693702 Fixes https://bugs.ecmascript.org/show_bug.cgi?id=28 2011-09-24 16:52:11 -07:00
Mark Miller
318cebf831 Fixes https://bugs.ecmascript.org/show_bug.cgi?id=31 2011-09-24 16:47:27 -07:00
Mark Miller
dfa7024e15 Merged 2011-09-24 16:42:59 -07:00
Mark Miller
6adc4f7da9 Fixes bug https://bugs.ecmascript.org/show_bug.cgi?id=27 Also changed
an inappropriate @strict_mode_negative to @noStrict. There are more
(many more?) of these to fix
2011-09-24 16:42:04 -07:00
David Fugate
2bf9e7e2a0 Merge. 2011-09-24 16:36:50 -07:00
David Fugate
2b0122ef82 All tests are globally scoped tests - Part I. 2011-09-24 16:35:45 -07:00
Mark Miller
5c91ef1cb8 Merged 2011-09-24 16:16:50 -07:00
Mark Miller
bb29020ab2 Closing out https://bugs.ecmascript.org/show_bug.cgi?id=18 Some of
these tests were valid tests of best practices, but not of the
normative spec. We moved these to a new bestPractices directory and
added a new not-yet-operational @bestPractices property.
2011-09-24 16:08:47 -07:00
David Fugate
ab1142e498 Merge. 2011-09-24 11:48:21 -07:00
David Fugate
5be3b44a3d Removed all traces of test pre-req requirements.
Generate the 'id' property from the 'path' property.
2011-09-24 11:46:26 -07:00
Mark Miller
479a396ffd Regenerated 2011-09-24 11:13:49 -07:00
Mark Miller
66abdf4354 Changed strictOnly to onlyStrict 2011-09-24 11:13:02 -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
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
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
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
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
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
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
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
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
bc6a3ba731 All sputnik and ietestcenter tests converted to proposed new canonical form 2011-09-06 23:35:18 -07:00