Skip to content

Conversation

@gpshead
Copy link
Member

@gpshead gpshead commented Jul 24, 2019

We're skipping all but 40 of the tests when running the test suite now as of 2406672

OOPS :)

https://bugs.python.org/issue37667

Automerge-Triggered-By: @gpshead

@gpshead
Copy link
Member Author

gpshead commented Jul 24, 2019

CI is happily running all 419 tests again with this PR. =)

and I have manually confirmed that ./python -m test.regrtest --pgo runs its select set of 40.

@gpshead gpshead merged commit f0807ab into python:master Jul 24, 2019
@miss-islington
Copy link
Contributor

Thanks @gpshead for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8.
🐍🍒⛏🤖

@miss-islington
Copy link
Contributor

I'm having trouble backporting to 3.8. Reason: 'Error 110 while writing to socket. Connection timed out.'. Please retry by removing and re-adding the needs backport to 3.8 label.

@miss-islington
Copy link
Contributor

Thanks @gpshead for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8.
🐍🍒⛏🤖

@bedevere-bot
Copy link

GH-14928 is a backport of this pull request to the 3.8 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 24, 2019
(cherry picked from commit f0807ab)

Co-authored-by: Gregory P. Smith <[email protected]>
@gpshead gpshead deleted the run-all-the-things-again branch July 24, 2019 04:37
miss-islington added a commit that referenced this pull request Jul 24, 2019
(cherry picked from commit f0807ab)

Co-authored-by: Gregory P. Smith <[email protected]>
@nascheme
Copy link
Member

Thanks for fixing this. I botched the refactoring that introduced setup_pgo_tests(). 😢

@gpshead
Copy link
Member Author

gpshead commented Jul 24, 2019 via email

@nascheme
Copy link
Member

I think it is the correct fix. It is exactly what I had in my tree before I realized you already fixed it. Initially I had the "if ns.pgo" test inside the setup_pgo_tests(). However, I decided that makes the call in main.py a bit confusing since it looks like something gets done in the non-PGO case. So, I removed the test from setup_pgo_tests() but then I forget to add it to main.py. So, your fix makes the code the way I intended it.

I should have run the test suite after the refactoring. My testing consisted of running the build using "--enable-optimizations" and "--enable-optimzations PROFILE=TASK=...". I forget to run the normal test suite. No major harm done but kind of embarrassing. 😁

lisroach pushed a commit to lisroach/cpython that referenced this pull request Sep 10, 2019
DinoV pushed a commit to DinoV/cpython that referenced this pull request Jan 14, 2020
websurfer5 pushed a commit to websurfer5/cpython that referenced this pull request Jul 20, 2020
akruis pushed a commit to akruis/cpython that referenced this pull request Aug 6, 2021
(cherry picked from commit f0807ab)

Co-authored-by: Gregory P. Smith <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants