-
Notifications
You must be signed in to change notification settings - Fork 903
Open
Description
Problem
After updating the test262 submodule, the test runner generates different formats of test262.properties depending on the update flags used. This causes CI failures because the test runner expects {unsupported: [...]} markers to identify tests that should be skipped due to unsupported features.
Available Generation Options
Current Options for -DupdateTest262properties=
all: Enables rollup + stats + unsupported markers (what CI currently expects)- Generates: Statistics like
58/241 (24.07%), rollup sections,{unsupported: [...]}markers
- Generates: Statistics like
none: Disables all features (rollup, stats, unsupported)- Generates: Clean list without any statistics or markers
~all: Inverts 'all', same as 'none'- Generates: Clean list without any statistics or markers
trueor empty string: Enables all features by default (same as 'all')rollup: Enables only rollup sectionsstats: Enables only statisticsunsupported: Enables only unsupported markers- Combinations: Can use comma-separated values like
rollup,unsupported
Current Behavior
- CI expects the format generated by
=all(with statistics and unsupported markers) - Using
=~allor=nonegenerates a cleaner format but causes CI failures - The test runner LINE_SPLITTER regex still expects to parse
{unsupported: [...]}format
Expected Behavior
Either:
- The test runner should be updated to work without the unsupported markers, OR
- The generation should consistently include unsupported markers regardless of test262 version, OR
- CI should be updated to handle the new clean format
Steps to Reproduce
- Update test262 submodule to latest
- Run:
./gradlew :tests:test --tests Test262SuiteTest --rerun-tasks -DupdateTest262properties=~all - Note the generated test262.properties lacks
{unsupported: [...]}markers - CI fails trying to run tests that require unsupported features
Environment
- Latest test262 submodule (commit 3fd4ec27f1)
- Rhino master branch
- Test262SuiteTest.java lines 118-135 contain the flag parsing logic
Workaround
Currently using -DupdateTest262properties=all to generate the format with unsupported markers that CI expects.
Metadata
Metadata
Assignees
Labels
No labels