FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-110313: regrtest: don't remove files created by PGO build by vstinner · Pull Request #110654 · python/cpython · GitHub

Repository navigation

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .py  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
5 changes: 5 additions & 0 deletions Lib/test/libregrtest/save_env.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,11 @@ def resource_info(self):
method_suffix = name.replace('.', '_')
get_name = 'get_' + method_suffix
restore_name = 'restore_' + method_suffix
if self.pgo and method_suffix == 'files':
# gh-110313: Running PROFILE_TASK of make creates profile files
# like "code-4262.profclangr" in the current directory on
# purpose. They must not be removed.
continue
yield name, getattr(self, get_name), getattr(self, restore_name)

def __enter__(self):
Expand Down

Back | FazBrowse Home | New Git URL