You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
including modules, asynchronous generators and proxies.
25
26
26
27
It optionally supports mathematical extensions such as big integers
27
28
(BigInt), big floating point numbers (BigFloat) and operator
@@ -33,12 +34,14 @@ overloading.
33
34
34
35
@item Small and easily embeddable: just a few C files, no external dependency, 180 KiB of x86 code for a simple ``hello world'' program.
35
36
36
-
@item Fast interpreter with very low startup time: runs the 58000 tests of the ECMAScript Test Suite@footnote{@url{https://github.com/tc39/test262}} in about 85 seconds on a single core of a desktop PC. The complete life cycle of a runtime instance completes in less than 300 microseconds.
37
+
@item Fast interpreter with very low startup time: runs the 69000 tests of the ECMAScript Test Suite@footnote{@url{https://github.com/tc39/test262}} in about 95 seconds on a single core of a desktop PC. The complete life cycle of a runtime instance completes in less than 300 microseconds.
37
38
38
-
@item Almost complete ES2020 support including modules, asynchronous
39
-
generators and full Annex B support (legacy web compatibility).
39
+
@item Almost complete ES2019 support including modules, asynchronous
40
+
generators and full Annex B support (legacy web compatibility). Many
41
+
features from the upcoming ES2020 specification
42
+
@footnote{@url{https://tc39.github.io/ecma262/}} are also supported.
40
43
41
-
@item Passes nearly 100% of the ECMAScript Test Suite tests.
44
+
@item Passes nearly 100% of the ECMAScript Test Suite tests when selecting the ES2019 features.
42
45
43
46
@item Can compile Javascript sources to executables with no external dependency.
44
47
@@ -221,21 +224,48 @@ The tests can be run with
221
224
make test2
222
225
@end example
223
226
224
-
For more information, run @code{./run-test262} to see the options of
225
-
the test262 runner. The configuration files @code{test262.conf} and
226
-
@code{test262bn.conf} contain the options to run the various tests.
227
+
The configuration files @code{test262.conf} (resp
228
+
@code{test262bn.conf} for the bignum version, @code{test262o.conf} for
229
+
the old ES5.1 tests@footnote{TheoldES5.1testscanbeextractedwith
230
+
@code{gitclone--single-branch--branches5-tests
231
+
https://github.com/tc39/test262.gittest262o}})) contain the options
232
+
to run the various tests. Tests can be excluded based on features or
233
+
filename.
234
+
235
+
The file @code{test262_errors.txt} contains the current list of
236
+
errors. The runner displays a message when a new error appears or when
237
+
an existing error is corrected or modified. Use the @code{-u} option
238
+
to update the current list of errors (or @code{maketest2-update}).
239
+
240
+
The file @code{test262_report.txt} contains the logs of all the
241
+
tests. It is useful to have a clearer analysis of a particular
242
+
error. In case of crash, the last line corresponds to the failing
243
+
test.
244
+
245
+
Use the syntax @code{./run-test262-ctest262.conf-ffilename.js} to
246
+
run a single test. Use the syntax @code{./run-test262-ctest262.conf
247
+
N} to start testing at test number @code{N}.
248
+
249
+
For more information, run @code{./run-test262} to see the command line
250
+
options of the test262 runner.
251
+
252
+
@code{run-test262} accepts the @code{-N} option to be invoked from
0 commit comments