Commit Graph

138 Commits

Author SHA1 Message Date
David Fugate 279825ea44 Added experimental test402 support (JS internationalization standard). 2012-01-25 14:04:40 -08:00
David Fugate d7619456fa Generate one *.html per *.json in addition to the default.html which includes all tests.
Added support to create testcases_bestPractice.html without also adding them to default.html.

Preliminary support for tests under test/suite/internationalization has been added.
2012-01-19 16:03:21 -08:00
David Fugate 98a0b9e10e S8.5_A13_T1 is implementation dependent (cannot pass on current ARM
architectures), but worth keeping around for the coverage it provides.
Documented that this is expected to fail on ARM.
2012-01-18 12:16:09 -08:00
David Fugate e6f9015301 Last two invalid test cases have been fixed. 2012-01-16 14:06:17 -08:00
David Fugate 4d241e4bec S7.8.5_A3.1_T7 through S7.8.5_A3.1_T9 were invalid as written. The only way to specify unicode flags
to literal regexp patterns is through eval and similar mechanisms (e.g., Function constructor).  Fixed.

All but two of the remaining disabled tests in excludelist.xml were disabled because the tests polluted
the global JS environment, not because the tests themselves were invalid.  This is no longer an issue as
of the latest test262 harness (actually it wasn't an issue about a year ago either).  Re-enabled.
2012-01-16 12:51:55 -08:00
David Fugate a180d5f371 https://bugs.ecmascript.org/show_bug.cgi?id=61 is fixed. 2012-01-16 11:17:05 -08:00
David Fugate 9e00383b5f Two more issues called out in excludelist.xml are gone. 2012-01-13 15:48:35 -08:00
David Fugate 42737015f4 https://bugs.ecmascript.org/show_bug.cgi?id=75 2012-01-13 15:15:29 -08:00
David Fugate 9dbc4e9821 Test harness changes last Fall enabled execution of this===theGlobalObject Sputnik tests again.
Also, two of this weren't actually this-related.  Fixed their separate issues.
2012-01-13 14:54:45 -08:00
David Fugate 7e7ebe85f2 https://bugs.ecmascript.org/show_bug.cgi?id=60 2012-01-13 13:31:45 -08:00
David Fugate e394b50364 Rest of https://bugs.ecmascript.org/show_bug.cgi?id=23 fix. 2012-01-13 11:33:05 -08:00
David Fugate d8add6e8c6 https://bugs.ecmascript.org/show_bug.cgi?id=14 fixed. 2012-01-13 09:51:10 -08:00
David Fugate fb301f6f8e https://bugs.ecmascript.org/show_bug.cgi?id=7 2012-01-13 09:42:02 -08:00
David Fugate e28b10e5a6 https://bugs.ecmascript.org/show_bug.cgi?id=218 resolved. 2012-01-12 16:39:35 -08:00
David Fugate 5254b88b29 https://bugs.ecmascript.org/show_bug.cgi?id=26 is fixed. 2012-01-05 09:17:14 -08:00
David Fugate 7700283145 Regen'ed website reflecting 11/18/11 changes. 2011-11-28 11:15:27 -08:00
David Fugate fd38135510 Merge. 2011-11-11 11:58:16 -08:00
David Fugate 5df3134fac Fixed https://bugs.ecmascript.org/show_bug.cgi?id=207. 2011-11-11 11:40:05 -08:00
David Fugate 4e74861ccb Updated Microsoft's test262 contributions reflecting the IE10 PPB4 update to IE Test Center.
77 new (mostly) strict mode tests plus the removal of one invalid test case.

Sputnik and IE Test Center tests now live side-by-side in ch* directories under test/suite.
2011-11-04 12:46:23 -07:00
David Fugate 43b58c99d0 Preserve only the first line of each test case's copyright header
when encoding to JSON which coincidentally preserves the BOM as well.
This shaved ~10 megs off of chapter15.json alone.
2011-11-04 12:04:46 -07:00
David Fugate dc9bd9601b Fewer Json files (experiment...). 2011-10-03 16:01:47 -07:00
David Fugate 5a665767e6 Re-gen'ed website using new Sputnik directory names. 2011-10-03 13:31:15 -07:00
David Fugate 6c9436f977 Re-gen'ed website. 2011-10-03 12:08:06 -07:00
Mark Miller 68f00c57a3 Just change in generated formatting 2011-09-30 04:03:28 -04:00
David Fugate a8625046d2 Re-enabled 12 tests. 2011-09-27 12:52:17 -07:00
David Fugate ffa85c2584 Moved all test helper functions into sta.js; removed sputnikLib.js.
Laid down the groundwork for a console-based test runner.
2011-09-26 16:12:46 -07:00
David Fugate 352d86b8ed Support not-NotEarlyError as well. 2011-09-25 17:05:32 -07:00
David Fugate 515ed58d60 Fixed bug in generated IETC test cases regarding NotEarlyError. 2011-09-25 16:25:20 -07:00
David Fugate 209657430d Re-gen'ed website. 2011-09-25 16:21:18 -07:00
David Fugate 19ec143b0d Do not put 'best practice' tests on the live website. 2011-09-25 15:37:56 -07:00
David Fugate 77e7297a21 Re-gen'ed website. 2011-09-25 15:06:48 -07:00
David Fugate ba41d38511 Regenerated website using new package.py and test/suite/converted. 2011-09-25 11:41:04 -07:00
David Fugate 54b6ae5e9c Moved resources and images directories (from website) up a couple levels.
Added new 'packaging' directory to tooling.
2011-09-24 11:47:48 -07:00
David Fugate 4fcd9a836d https://bugs.ecmascript.org/show_bug.cgi?id=34. Fixed 2011-09-23 16:27:46 -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 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 0b0736cbee S11.1.1_A2 (https://bugs.ecmascript.org/show_bug.cgi?id=179) 2011-09-14 10:45:46 -07:00
David Fugate f381e5a4b1 Re-gen'ed website. 2011-09-13 16:37:30 -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 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
David Fugate 2871886420 test\harness\*:
- a lot of JS harness code written in strings have been moved out to actual physical files
  such as ed.js (syntax error detection for globally scoped tests) and gs.js (global scope test
  case validator).  This change makes it far easier to maintain the test harness code
- reorganized helper.js providing a clear indication which methods are used by external objects,
  which are implementation details, and which are unequivocally test262-specific.  I've also added,
  openErrorWindow, which will be used to open a descriptive error message window for each test case
  failure reported on the 'Run' tab
- improved the error message for syntax errors occurring when a test case fails to load
- sta.js no longer tries to pickle all helper functions it contains!  Instead, we load the file
  directly from sth.js.  The performance of fnGlobalObject has been improved.  Finally, the ES5Harness
  object has been moved from sth.js (in a string) to here
- sth.js now has a browser implementer hook, controller.implementerHook, which allows browser implementers
  to handle test case failures in their own way (e.g., log to the filesystem).  The 'run' function was
  basically re-written

Added 37 new test cases from the "IE Test Center" Build release.  There were 14 modifications to
existing test cases as well.  Refactored SputnikGlobalScope.js such that test case paths are now used
as indices into the GlobalScopeTests array.

TestCasePackager.py had the concept of templated test harnesses introduced - see templates\runner.test262.html.
Also added support for one HTML test harness per ES5 chapter.  Last but not least, TestCasePackagerConfig.py
now has a 'source control' abstraction class which abstracts away source control adds|edits when dynamically
generating *.json and *.html test chapters.
2011-08-25 11:18:44 -07:00
David Fugate bda89b6452 https://bugs.ecmascript.org/show_bug.cgi?id=127 2011-07-18 10:59:06 -07:00
David Fugate 5b2de8816f https://bugs.ecmascript.org/show_bug.cgi?id=126 2011-07-18 10:29:23 -07:00
David Fugate 009262deba https://bugs.ecmascript.org/show_bug.cgi?id=128 2011-07-18 09:15:03 -07:00
David Fugate 383aaca3b1 https://bugs.ecmascript.org/show_bug.cgi?id=133 2011-07-18 09:05:23 -07:00
David Fugate 9eb6c8c2d2 15.4.4.15-3-14, 15.4.4.15-3-29, and 15.4.4.15-3-8 were disabled with no reason or bug given. These actually look OK,
and pass on all browsers...
2011-07-08 16:02:19 -07:00