Skip to content

Add run-test262 --no-can-block flag#1433

Open
ivankra wants to merge 1 commit intoquickjs-ng:masterfrom
ivankra:no-can-block
Open

Add run-test262 --no-can-block flag#1433
ivankra wants to merge 1 commit intoquickjs-ng:masterfrom
ivankra:no-can-block

Conversation

@ivankra
Copy link
Copy Markdown

@ivankra ivankra commented Mar 30, 2026

The flag is needed to pass the two CanBlockIsFalse tests from test262 when running individual preprocessed tests via run-test262 -N.

Fixes #1431

The flag is needed to pass the two CanBlockIsFalse tests from test262
when running individual preprocessed tests via run-test262 -N.

Fixes quickjs-ng#1431
Copy link
Copy Markdown
Contributor

@saghul saghul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't you need to remove the now non failing tests from the errors txt file?

@ivankra
Copy link
Copy Markdown
Author

ivankra commented Mar 30, 2026

The new flag is primarily for run-test262 -N mode - run a single preprocessed test. The use case is for an external test262 runner that preprocesses tests itself and starts a new instance of run-test262 -N to run each test.

test262_errors.txt is generated in batch mode where it reads it from YAML frontmatter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing cli flag to control CanBlock in run-test262

2 participants