Incorporate changes from test262/41edfcebce1a85096

Adds André Bargull's simplifications with some slight edits to prevent
printing error messages for hashbang tests, and to always load the local
monkeyYaml script.
1 file changed
tree: f31ccc7a552021bc278523f6a2c3987ca9d64241
  1. src/
  2. test/
  3. .gitignore
  4. __init__.py
  5. excludelist.xml
  6. LICENSE
  7. README.md
README.md

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