Commit Graph

425 Commits

Author SHA1 Message Date
Brian Terlson 66aab6025d Fix comment formatting for S22.1.2.3_T1.js 2014-07-21 15:47:50 -07:00
Brian Terlson 66366d6961 Merge pull request #49 from smikes/faster-python-runner
test262.py: only include helper scripts when needed
2014-07-21 14:32:03 -07:00
Brian Terlson 1cbf603a2d Merge pull request #50 from smikes/additional-CONTRIBUTING-notes
CONTRIBUTING: document test262.py, async tests
2014-07-21 13:16:29 -07:00
Sam Mikes d180b84e01 CONTRIBUTING: document test262.py, async tests
add a section on requirements for using console test runner test262.py

add a section on asynchronous tests

add subsection to authoring guidelines with suggestion for test names
2014-07-21 10:19:06 -06:00
Sam Mikes d4a3479a1e test262.py: only include helper scripts when needed
test262.py: only supply async helper scripts when test is async
sth.js: factor out function isAsyncTest()
timer.js: improve workaround for async tests when Promise is defined but setTimeout is noot

timer.js emulates setTimeout using Promise by doing a busy loop that checks
if `timeout` milliseconds have elapsed.  Modified check to (timeLeft > 0) instead
of (!timeLeft) to prevent infinite loop when check does not happen to run
at precise millisecond timeout expires.

Because test262.py did not support the $INCLUDE directive, some helper
scripts were added to every test -- notably testIntl, timer, and donePrintHandle
Now that $INCLUDE is supported, these can be dropped, speeding overall test run time
2014-07-21 15:15:04 +01:00
Brian Terlson e09d62bba3 Merge pull request #17 from hankyates/array-fill-tests
* hankyates/array-fill-tests:
  Adding Array.prototype#fill tests
2014-07-18 15:20:03 -07:00
Hank Yates cae283b563 Adding Array.prototype#fill tests 2014-07-18 15:17:33 -07:00
Brian Terlson 33c8399de8 Merge pull request #31 from Constellation/fix-error-code
Propagate error code when test cases are failed
2014-07-18 11:38:31 -07:00
Brian Terlson 96c6efe0ef Merge pull request #43 from smikes/initial-Promise-tests
Initial promise tests
2014-07-18 11:22:48 -07:00
Brian Terlson 821e06e3f1 Merge pull request #44 from smikes/fix-packager
packager: make packager runnable
2014-07-18 11:21:52 -07:00
smikes 7032af4db8 packager: make packager runnable
packager.py cannot run due to syntax errors in a few script files

packagerConfig: use git instead of hg
test262: use pop instead of delete to avoid throw if property missing
S22.1.2.1_T*: fix docString header comment: s/b /**
S22.1.2.1_T3: fix docString header comment: s/b /**, fix end of docstring * / => */
2014-07-18 08:53:29 +01:00
Sam Mikes 7e07cc138d async,promises: initial tests of Promises
doneprintHandle.js: make $DONE accept any falsy argument as meaning 'pass'
PromiseHelper.js: checkSequence: new helper fn for async tests
.gitignore: port .hgignore to .gitignore syntax
test262.py: support $INCLUDE directive in python test runner

S25.4.4.1*: tests to cover Section 25.4.4.1, Promise.all( iterable )
A1.1: Promise.all is callable
A1.2: Promise.all expects 1 argument
A2.1: Promise.all([]) is a Promise
A2.2: Promise.all([]) is resolved immediately
A2.3: Promise.all([]) is resolved with a new empty array
A3.1: Promise.all expects an iterable argument
2014-07-18 05:37:08 +01:00
Brian Terlson 0efbedeaa1 Merge pull request #20 from mgmeyers/Array.prototype.find
* mgmeyers/Array.prototype.find:
  Adds tests for Array.prototype.find
2014-07-17 11:28:15 -07:00
Matthew Meyers c451a33299 Adds tests for Array.prototype.find 2014-07-17 11:24:50 -07:00
Brian Terlson 880a7e9316 Merge pull request #12 from ryanmurakami/es6Tests
* es6Tests:
  first batch of ES6 tests
2014-07-16 17:34:23 -07:00
ryanmurakami eb0ff48938 first batch of ES6 tests 2014-07-16 17:31:37 -07:00
Brian Terlson 382b844b23 Merge pull request #11 from hankyates/array-of-tests
* hankyates/array-of-tests:
  Adding Array#of tests
2014-07-16 17:15:19 -07:00
Hank Yates 9244107ebf Adding Array#of tests 2014-07-16 17:03:52 -07:00
Brian Terlson e30c0b3183 Remove external folder 2014-07-16 13:59:52 -07:00
Brian Terlson 5278df4721 Merge pull request #5 from hankyates/array-from-tests
* array-from-tests:
  Adding test for Array.from
2014-07-16 13:51:19 -07:00
Hank Yates 7edb891fff Adding test for Array.from 2014-07-16 13:34:37 -07:00
Brian Terlson 262ce4d0d8 Merge pull request #9 from tdahlstrom/bug_596
* tdahlstrom/bug_596:
  Bug 596 - Coverage: 15.4.4.11 - identical elements and array holes
2014-07-16 12:58:54 -07:00
Thomas Dahlstrom 2f5ec53aad Bug 596 - Coverage: 15.4.4.11 - identical elements and array holes 2014-07-16 12:56:46 -07:00
Brian Terlson 50696f69f6 Merge pull request #34 from niksurya/master
Adding Support for Async Tests
2014-07-16 12:10:56 -07:00
NikSurya 9aa6b917fa Adding Support for Async Tests 2014-07-15 13:47:59 -07:00
Brian Terlson b0c6fb0272 Merge pull request #2 from bterlson/localeCompare-fix
15.5.4.9_CE should check for locale-sensitive comparison
2014-07-10 14:59:57 -07:00
Brian Terlson e7f4a5c395 Merge pull request #38 from muratsu/guideline
Add contributing.md and update readme.md
2014-07-10 14:58:48 -07:00
Brian Terlson 916a08bb9a Merge pull request #19 from JaimeLynSchatz/JaimeLynSchatz/fixBugz1533
change test 15.3.5.4_2-89 to call bound function before returning (Fixes bugzilla 1533)
2014-07-10 14:53:34 -07:00
Murat Sutunc 874ddaeb24 Added contributing.md and improved README 2014-07-10 14:53:31 -07:00
Brian Terlson ee409f9d7d Merge pull request #14 from JaimeLynSchatz/JaimeLynSchatz/fixBugz1561
fix error msgs in test S12.6.1_A1 from Bugzilla issue 1561
2014-07-10 14:32:37 -07:00
Brian Terlson 5920e4e9c9 Merge pull request #6 from JaimeLynSchatz/JaimeLynSchatz/fixBugz1159
change assert to not assume a sorted list of arguments indices (Fixes bugzilla 1159)
2014-07-10 14:25:42 -07:00
Brian Terlson 019a62a863 Merge pull request #7 from JaimeLynSchatz/JaimeLynSchatz/fixBugz1552
fix point of view typos from Bugzilla 1552
2014-07-10 13:45:37 -07:00
Brian Terlson 4f15bf990b Merge pull request #1 from JaimeLynSchatz/JaimeLynSchatz/typofix
fix typo in 10.5 (fixes Bugzilla 1795)
2014-07-10 13:40:27 -07:00
Brian Terlson cb8b373444 Merge pull request #26 from muratsu/intl402-alert
Remove the alert call from test file
2014-07-10 13:39:14 -07:00
Brian Terlson 6cc19d8f7c Merge pull request #30 from jrvidal/bugzilla-1450
Correct shadow behavior in 12.6.4-2 (bugzilla #1450)
2014-07-07 11:24:27 -07:00
Brian Terlson cbb5c16b9d Add a basic readme 2014-07-03 12:18:01 -07:00
Yusuke Suzuki d83a16f46c Propagate error code when test cases are failed 2014-03-03 03:32:26 +09:00
José Roberto Vidal 7b6ef7ba88 Fix Bugzilla 1450 2014-02-11 19:56:32 -05:00
Murat Sutunc 7697770a4c removed alert call from test file 2014-01-30 16:00:57 -08:00
JaimeLynSchatz 6b47f8c585 change test 15.3.5.4_2-89 to call bound function before returning for Bugzilla issue 1533 2014-01-26 17:08:20 -08:00
JaimeLynSchatz f9afc0c847 fix error msgs in test S12.6.1_A1 from Bugzilla issue 1561 2014-01-26 16:21:28 -08:00
JaimeLynSchatz a5fda120de fix point of view typos from Bugzilla 1552 2014-01-26 14:55:44 -08:00
JaimeLynSchatz d7446f811a change assert to not assume a sorted list of arguments indices for Bugzilla 1159 2014-01-26 14:25:38 -08:00
Brian Terlson 47a92dbb24 15.5.4.9_CE should check for locale-sensitive comparison 2014-01-26 13:24:35 -08:00
JaimeLynSchatz 239c4b721a fix typo in 10.5 from Bugzilla 2014-01-26 11:36:47 -08:00
Brian Terlson 9b669da66c Add coverage documentation 2014-01-25 14:09:55 -08:00
Brent Baker ada9da5aa9 Bug 1128: use Date.prototype.getFullYear() in S15.2.2.1_A2_T5
Bug 1131: use String.prototype.charAt() in 15.12.3-11-26

Both of these changes were accidentaly dropped when I regenerated patches for these bugs. I have grepped the testsuite to ensure that the annexB functions only appear in the annexB section of the testsuite.

NOTE: Also regenerated the website based on this change. (Still waiting for permission to actually update the live website)
2013-06-13 10:07:45 -04:00
Prashanth Srinivasan 87605ba3b5 Bug 1472: Adding JUnit Compatible XML and Logfile support for Python test runner 2013-06-10 11:51:24 -04:00
Brent Baker 62f3c563fe Updating website code for the following changelists:
5438759531d2
f80873831607
11a02c1eea0a
971c2b8e0e2f
032499be5fa1
579bd85aaf2a
579bd85aaf2a
89ff32d0344b
2013-06-07 07:09:34 -04:00
Brent Baker 91bb82fb7e Bug 1548: Update results handling for Annex B section (r+bterlson) 2013-06-07 07:05:37 -04:00