8000 gh-124613: Don't run perf tests in JIT builds by pablogsal · Pull Request #124792 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-124613: Don't run perf tests in JIT builds #124792

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

Merged
merged 2 commits into from
Sep 30, 2024
Merged
Changes from 1 commit
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
Prev Previous commit
Apply suggestions from code review
Co-authored-by: Victor Stinner <vstinner@python.org>
  • Loading branch information
pablogsal and vstinner committed Sep 30, 2024
commit 851f12cecdeb97c01b855b2d0dda5d7175a15cdf
6 changes: 2 additions & 4 deletions Lib/test/test_perf_profiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,12 @@


def is_jit_build():
cflags = sysconfig.get_config_var("PY_CORE_CFLAGS")
if not cflags:
return False
cflags = (sysconfig.get_config_var("PY_CORE_CFLAGS") or '')
return "_Py_JIT" in cflags


if is_jit_build():
raise unittest.SkipTest("Perf support is not available in jit builds")
raise unittest.SkipTest("Perf support is not available in JIT builds")


def supports_trampoline_profiling():
Expand Down
Loading
0