v8/third_party/test262-harness/README.md
Shu-yu Guo d7e6146bc6 [infra] Fork test262-harness
The external project is effectively abandoned. Fork and move it in-tree
for easier maintenance and Python 3 migration.

Bug: chromium:1296209
Change-Id: I4ff97749acb2895bd8433c08b2a4ff109c90cda2
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3475086
Reviewed-by: Michael Achenbach <machenbach@chromium.org>
Reviewed-by: Adam Klein <adamk@chromium.org>
Commit-Queue: Shu-yu Guo <syg@chromium.org>
Cr-Commit-Position: refs/heads/main@{#79240}
2022-02-23 18:47:35 +00:00

558 B

Test262 Python Harness

Usage

Loaded as a module, this project defines a single function, parseTestRecord. This function creates an object representation of the metadata encoded in the "frontmatter" of the provided Test262 test source code.

test262.py is an executable designed to execute Test262 tests. It is exposed for public use. For usage instructions, invoke this executable with the --help flag, as in:

$ test262.py --help

Tests

Run the following command from the root of this projcet:

$ python -m unittest discover test