-
-
Notifications
You must be signed in to change notification settings - Fork 29.2k
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
gh-115421: Test that our Makefile has all needed test folders #115813
Conversation
d9f6baf
to
63ca14b
Compare
63ca14b
to
b04014f
Compare
I've pushed a demo commit: f048fb5 It is missing |
Correctly failed jobs (which detected missing
Now, I will revert |
Related failure:
|
@Yhg1s it is ready :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, with two suggestions:
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Thanks everyone! |
GH-116462 is a backport of this pull request to the 3.12 branch. |
1 similar comment
GH-116462 is a backport of this pull request to the 3.12 branch. |
…hem (pythonGH-115813) (pythonGH-116462) * pythongh-115421: Test that our Makefile has all needed test folders (pythonGH-115813) * Update the list of installed test subdirectories --------- Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
GH-116498 is a backport of this pull request to the 3.11 branch. |
…H-115813) This backports: - GH-115813 - GH-115422 Unlike on the main branch, new directories are added to the end, so they're a bit easier to patch out if a redistributor needs to do so. On main & 3.12, there's a special case for `idlelib/idle_test`; on 3.11 TESTSUBDIRS has several more entries that are not in `test/`. This backport ignores all of them (including idlelib). (The alternative would be list them, as additions to TEST_HOME_DIR. But that's probably too invasive; people might split stdlib up in surprising ways.) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
This PR is the alternative to #115511
While we would still have to keep adding directories to
TESTSUBDIRS
manually, we would now have a test to catch any cases where people forget to update / remove these entries.This test works with
--disable-test-modules
as well.Which approach do you like best?