3714 Commits

Author SHA1 Message Date
Ross Kirsling
d0f57bff72 Ensure test file YAML blocks don't have a trailing space. (#2018) 2019-01-07 11:40:39 -02:00
Leo Balter
1b524be1c9
Merge pull request #2020 from jugglinmike/refactor-for-parsers-line-terminator
Refactor, reorganize, and extend tests for line terminators
2019-01-07 11:38:49 -02:00
Mike Pennisi
3468dad291 Improve coverage for line terminators
Previous commits restructured the tests for line terminators and made
coverage gaps more apparent. Introduce new files to improve coverage.
2019-01-01 14:01:09 -05:00
Mike Pennisi
8175f6c05e Improve name of line terminator tests 2019-01-01 14:01:08 -05:00
Mike Pennisi
6b49b770d8 Refactor LT tests for parsers: token delimiters
The tests for the parsing of line terminators were expressed using eval.
This made the tests more complex than necessary and also prevented the
tests from providing value to ECMAScript parsers.

Remove the use of eval and instead express the expectations with literal
source text. Rename the files to make each test's purpose more clear.
2019-01-01 13:48:58 -05:00
Mike Pennisi
e515abfa0e Refactor LT tests for parsers: multi-line comment
The tests for the parsing of line terminators were expressed using eval.
This made the tests more complex than necessary and also prevented the
tests from providing value to ECMAScript parsers.

Remove the use of eval and instead express the expectations with literal
source text. Rename the files to make each test's purpose more clear.
2019-01-01 13:48:58 -05:00
Mike Pennisi
0ec9dbe3b3 Refactor LT tests for parsers: single-line comment
The tests for the parsing of line terminators were expressed using eval.
This made the tests more complex than necessary and also prevented the
tests from providing value to ECMAScript parsers.

Remove the use of eval and instead express the expectations with literal
source text. Rename the files to make each test's purpose more clear.
2019-01-01 13:48:57 -05:00
Mike Pennisi
f9ffa71c56 Refactor LT tests for parsers: string
The tests for the parsing of line terminators were expressed using eval.
This made the tests more complex than necessary and also prevented the
tests from providing value to ECMAScript parsers.

Remove the use of eval and instead express the expectations with literal
source text.
2019-01-01 13:48:56 -05:00
Mike Pennisi
10fb23049e Refactor LT tests for parsers: RegExp
The tests for the parsing of line terminators were expressed using eval.
This made the tests more complex than necessary and also prevented the
tests from providing value to ECMAScript parsers.

Remove the use of eval and instead express the expectations with literal
source text.
2019-01-01 13:48:55 -05:00
Mike Pennisi
9f1d25c9e5 Remove duplicative tests
The behavior asserted by the removed tests is covered by other files.

- test/language/line-terminators/7.3-1.js duplicates
  test/language/line-terminators/S7.3_A1.3.js
- test/language/line-terminators/7.3-2.js duplicates
  test/language/line-terminators/S7.3_A1.4.js
- test/language/line-terminators/7.3-3.js duplicates
  test/language/line-terminators/S7.3_A3.3_T1.js
- test/language/line-terminators/7.3-4.js duplicates
  test/language/line-terminators/S7.3_A3.4_T1.js
- test/language/line-terminators/7.3-9.js duplicates
  test/language/line-terminators/S7.3_A6_T3.js
- test/language/line-terminators/7.3-10.js  duplicates
  test/language/line-terminators/S7.3_A6_T4.js
- test/language/line-terminators/S7.3_A1.1_T1.js duplicates
  test/language/line-terminators/S7.3_A1.1_T2.js
- test/language/line-terminators/S7.3_A1.2_T1.js duplicates
  test/language/line-terminators/S7.3_A1.2_T2.js
- test/language/line-terminators/S7.3_A3.1_T2.js duplicates
  test/language/line-terminators/S7.3_A3.1_T3.js
- test/language/line-terminators/S7.3_A3.2_T3.js duplicates
  test/language/line-terminators/S7.3_A3.2_T1.js
- test/language/line-terminators/S7.3_A3.3_T2.js duplicates
  test/language/line-terminators/S7.3_A3.3_T1.js
- test/language/line-terminators/S7.3_A3.4_T2.js duplicates
  test/language/line-terminators/S7.3_A3.4_T1.js
- test/language/line-terminators/S7.3_A4_T1.js duplicates
  test/language/line-terminators/S7.3_A3.1_T1.js
- test/language/line-terminators/S7.3_A5.1_T1.js duplicates
  test/language/line-terminators/S7.3_A5.1_T2.js
- test/language/line-terminators/S7.3_A5.2_T1.js duplicates
  test/language/line-terminators/S7.3_A5.2_T2.js
2019-01-01 13:38:43 -05:00
Mike Pennisi
23594b8179 Correct tests
These files were authored to test the effect of the carriage return
character, but that character was not present in the source text.

Insert the character as intended by the authors.
2019-01-01 13:38:31 -05:00
Leo Balter
f77b930e67 Move non generated files 2018-12-21 15:47:01 -05:00
Leo Balter
2907b7110a Generate tests 2018-12-21 15:47:01 -05:00
Leo Balter
0304c66440 Make the folder names consistent 2018-12-21 15:47:01 -05:00
Leo Balter
4d40dd5ade Generate tests 2018-12-21 15:47:01 -05:00
Leo Balter
b8d43a3982 More reorganization for the class folder 2018-12-21 15:47:01 -05:00
Leo Balter
d73548b027 Generate tests 2018-12-21 15:47:01 -05:00
Leo Balter
c945da864b rename fields folders to elements 2018-12-21 15:47:01 -05:00
Leo Balter
aa31486be4 Reorganize target folders - more class fields 2 2018-12-21 15:47:01 -05:00
Leo Balter
7c629ac802 Reorganize target folders - more class fields 2018-12-21 15:47:01 -05:00
Leo Balter
1aba619c00 Reorganize target folders - class fields from src/class-elements 2018-12-21 15:47:01 -05:00
Leo Balter
b4508b0a7a Reorganize target folders - src/dstr-binding 2018-12-21 15:47:01 -05:00
Leo Balter
5ce0d4ece1 Reorganize target folders - src/dstr-assignment 2018-12-21 15:47:01 -05:00
test262-automation
90ca332e69 [v8-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: 995333da targetRevisionAtLastExport: ccadd02f2b
2018-12-21 10:51:10 -05:00
test262-automation
9361d80b76 [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha 995333da on Thu Dec 20 2018 19:20:47 GMT+0000 (Coordinated Universal Time) 2018-12-21 10:51:10 -05:00
test262-automation
584c3c8055 [javascriptcore-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: 51c20fe3ea targetRevisionAtLastExport: f8bd9710a3
2018-12-21 10:50:46 -05:00
test262-automation
355ec026f4 [javascriptcore-test262-automation] Changes from https://github.com/webkit/webkit.git at sha 51c20fe3ea on Thu Dec 20 2018 19:17:41 GMT+0000 (Coordinated Universal Time) 2018-12-21 10:50:46 -05:00
Leo Balter
e403eea331 Fix false positives 2018-12-21 10:50:23 -05:00
Leo Balter
7375dcb080 Remove duplicates 2018-12-21 10:50:23 -05:00
Leo Balter
258da539bc refactor coverage for flatMap 2018-12-20 13:08:21 -05:00
test262-automation
28a46da5c6 [javascriptcore-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: 8e5433b70f targetRevisionAtLastExport: 18bf7976f5
2018-12-20 12:56:29 -05:00
test262-automation
e62e16507e [javascriptcore-test262-automation] Changes from https://github.com/webkit/webkit.git at sha 8e5433b70f on Tue Dec 18 2018 19:16:11 GMT+0000 (Coordinated Universal Time) 2018-12-20 12:56:29 -05:00
test262-automation
fcbfe2dfb1 [v8-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: 766ef168 targetRevisionAtLastExport: 227c2e8ffe
2018-12-20 12:56:10 -05:00
test262-automation
c9beaa3c69 [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha 766ef168 on Tue Dec 18 2018 19:19:51 GMT+0000 (Coordinated Universal Time) 2018-12-20 12:56:10 -05:00
Leo Balter
02af6a5552 Regenerate tests 2018-12-20 12:53:31 -05:00
Leo Balter
895778e35b naming 2018-12-20 12:53:31 -05:00
Leo Balter
239951c75f remove duplicate semicolon 2018-12-20 12:53:31 -05:00
Leo Balter
7a1eed0134 Generate tests 2018-12-20 12:53:31 -05:00
Leo Balter
20c38d3396 Expand tests for duplicate lexical names of vardeclarednames in the same statementlist 2018-12-20 12:53:31 -05:00
Leo Balter
3703d2bad1 Generate tests 2018-12-20 12:49:50 -05:00
Leo Balter
8b2b4c35ca Templates and cases for invalid private names 2018-12-20 12:49:50 -05:00
Leo Balter
6986a9166d Generate tests 2018-12-20 12:49:50 -05:00
Leo Balter
3ac1d7e657 Remove dead code 2018-12-20 12:49:50 -05:00
Leo Balter
e2b115567f Prepare evaluation error fields to receive more cases using heritance 2018-12-20 12:49:50 -05:00
Leo Balter
b9aa09c33e Set negative flags along with the templates using DONOTEVALUATE calls 2018-12-20 12:49:50 -05:00
Rick Waldron
73705f8801 UpdateExpressions: add necessary changes to tests to reflect latest specification. 2018-12-20 12:48:59 -05:00
Frank Yung-Fong Tang
dab8c8983a remove "TypeError: Cannot convert a Symbol value to a string" (#2009) 2018-12-19 22:36:10 -02:00
Leo Balter
7054805941
rename whitelist to exceptions in the linter tool (#2004) 2018-12-18 15:39:57 -02:00
test262-automation
ca9af579f4 [v8-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: dde25872 targetRevisionAtLastExport: 468a67ade5
2018-12-17 16:46:14 -05:00
test262-automation
058d7abf93 [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha dde25872 on Mon Dec 17 2018 19:18:49 GMT+0000 (Coordinated Universal Time) 2018-12-17 16:46:14 -05:00