Skip to content

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

Merged
saghul merged 1 commit into
quickjs-ng:masterfrom
ivankra:no-can-block
Apr 2, 2026
Merged

saghul merged 1 commit into
quickjs-ng:masterfrom
ivankra:no-can-block

Conversation

@ivankra

@ivankra ivankra commented Mar 30, 2026

Copy link
Copy Markdown
Contributor

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

@saghul saghul left a comment

Copy link
Copy Markdown
Contributor

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

ivankra commented Mar 30, 2026 •

Copy link
Copy Markdown
Contributor Author

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.

@saghul
saghul merged commit 4163d13 into quickjs-ng:master Apr 2, 2026
122 checks passed
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