Visitar URL original
gh-103053: Skip the whole `test_freeze` module in tests on `s390x` with `PGO` by sobolevn · Pull Request #103170 · python/cpython · GitHub
Skip to content
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
gh-103053: Skip test_tools on s390x and with PGO enabled
  • Loading branch information
sobolevn committed Apr 6, 2023
commit be3e15dfc3aa0cf38660122492bf5cf695e9f10f
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