Skip to content

Reorganize stdlib test overrides#2068

Merged
slozier merged 3 commits into
IronLanguages:mainfrom
slozier:stdlib_tests
Jun 20, 2026
Merged

Reorganize stdlib test overrides#2068
slozier merged 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.

@slozier slozier merged commit 3ef134b into IronLanguages:main Jun 20, 2026
25 of 26 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.

1 participant