mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-21 00:57:50 -06:00
fix: keep tool names out of the probe path check
This commit is contained in:
1 parent
fc10223a85
commit
1bbbdcd4e4
1 file changed
+3
-3
@@ -301,9 +301,9 @@ class RecordsNameNoLocalPath(unittest.TestCase):
|
||||
"""Ten records cut at 400 characters inside the scratch path kept
|
||||
its tail, which no absolute-path pattern sees."""
|
||||
absolute = re.compile(r"(?<![\w.<>-])/(?:home|root|tmp|mnt|Users|srv)/")
|
||||
# The tail of a scratch folder: a checkout's hidden tool folder, a
|
||||
# worktree, or the probes' own tmp/ subfolders.
|
||||
scratch = re.compile(r"\.claude/|worktrees/|\btmp/(?:pack_probe|tests|campaign)\b")
|
||||
# The tail of a scratch folder: a worktree, or the probes' own tmp/
|
||||
# subfolders.
|
||||
scratch = re.compile(r"worktrees/|\btmp/(?:pack_probe|tests|campaign)\b")
|
||||
found = [
|
||||
f"{path.name}:{number}"
|
||||
for path in sorted((REPO_ROOT / "measurements").glob("*.jsonl"))
|
||||
|
||||
Reference in new issue
Block a user