Skip to content

Reorganize stdlib test overrides#2068

Open
slozier wants to merge 3 commits into
IronLanguages:mainfrom
slozier:stdlib_tests
Open

Reorganize stdlib test overrides#2068
slozier wants to merge 3 commits into
IronLanguages:mainfrom
slozier:stdlib_tests

Conversation

@slozier

@slozier slozier commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

The goal of this PR is to make the overriding of CPython tests a bit simpler. This moves the *_stdlib.py tests to a stdlib folder and drops the _stdlib suffix. Also adjusts the CPythonCaseGenerator to override CPython tests with the our override from the stdlib folder. This means we no longer have ignore tests in CPythonCasesManifest.ini.

To define stdlib overrides going forward, simply create the test file using tests/suite/stdlib/gen_stdlib_test.py. The override will then run in place of the equivalent CPython test when running make.ps1 test. Test arguments can then be set in the CPythonCasesManifest.ini in place of the equivalent CPython test.

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.

1 participant