Skip to content

Commit

Permalink
Delete tests/test262.patch
Browse files Browse the repository at this point in the history
We don't use it.
  • Loading branch information
saghul committed Sep 13, 2024
1 parent 12940d7 commit 9bb8a68
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 97 deletions.
29 changes: 3 additions & 26 deletions doc/quickjs.texi
Original file line number Diff line number Diff line change
Expand Up @@ -193,30 +193,15 @@ QuickJS archive.

@section Test262 (ECMAScript Test Suite)

A test262 runner is included in the QuickJS archive. The test262 tests
can be installed in the QuickJS source directory with:
A test262 runner is included in the QuickJS archive.

@example
git clone https://github.com/tc39/test262.git test262
cd test262
patch -p1 < ../tests/test262.patch
cd ..
@end example

The patch adds the implementation specific @code{harness} functions
and optimizes the inefficient RegExp character classes and Unicode
property escapes tests (the tests themselves are not modified, only a
slow string initialization function is optimized).
The tests can be run with:

The tests can be run with
@example
make test2
make test262
@end example

The configuration files @code{test262.conf}
(resp. @code{test262o.conf} for the old ES5.1 tests@footnote{The old
ES5.1 tests can be extracted with @code{git clone --single-branch
--branch es5-tests https://github.com/tc39/test262.git test262o}}))
contain the options to run the various tests. Tests can be excluded
based on features or filename.

Expand Down Expand Up @@ -265,14 +250,6 @@ The following features are not supported yet:

ECMA402 (Internationalization API) is not supported.

@subsection Extensions

@itemize

@item The first line of a script beginning with @code{#!} is ignored.

@end itemize

@section Modules

ES6 modules are fully supported. The default name resolution is the
Expand Down
71 changes: 0 additions & 71 deletions tests/test262.patch

This file was deleted.

0 comments on commit 9bb8a68

Please sign in to comment.