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

gh-103053: Skip the whole test_freeze module in tests on s390x with PGO #103170

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Lib/test/test_tools/test_freeze.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@
with imports_under_tool('freeze', 'test'):
import freeze as helper

# See gh-103053:
skip_on_s390x_pgo = unittest.skipIf(
support.PGO and hasattr(os, 'uname') and os.uname().machine == 's390x',
's390x with PGO takes too long',
)

@skip_on_s390x_pgo
@support.requires_zlib()
@unittest.skipIf(sys.platform.startswith('win'), 'not supported on Windows')
@support.skip_if_buildbot('not all buildbots have enough space')
Expand Down