Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve test262 test suites on Apple and Android #1220

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ewlsh
Copy link

@ewlsh ewlsh commented Dec 12, 2023

Summary

For Android, this parameterizes the testsuite so each individual testcase/file is displayed separately and can be opened for debugging.

Additionally this ports the "exclude features" feature from the Apple testsuite to the Android one. This avoids having to exclude numerous test files for the same reason.

For iOS, this adds an "allowlist" to ensure we aren't excluding modern tests which use "const" but don't rely on its actual behavior.

Test Plan

The existing testsuite should pass.

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Dec 12, 2023
Many tests which use "const" are not actually testing the behavior of
the "const" keyword, they are just using it as it is standard practice
in newer JavaScript versions.

This allows allowlisting individual tests or directories which use
"const".

This commit additionally updates the skiplist for ECMA-402 2024
Also update the Android test262 runner to print the individual
testcases for debugging and visibility.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Do not delete this pull request or issue due to inactivity.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants