Skip to content

Commit b2da2dc

Browse files
committed
chore: hide exact version for codspeed valgrind to allow comparison against older versions
1 parent 77811f8 commit b2da2dc

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

bench/bench.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,11 @@ def pytest_generate_tests(metafunc):
117117
),
118118
]
119119

120+
# If the valgrind version is from CodSpeed, we don't want to display the exact version
121+
# to allow comparison against older versions.
122+
if ".codspeed" in runner.valgrind_version:
123+
runner.valgrind_version = "valgrind.codspeed"
124+
120125
# Create test IDs with format: valgrind-version, command, config-name
121126
test_ids = [
122127
f"{runner.valgrind_version}, {runner.cmd}, {config_name}"

0 commit comments

Comments
 (0)