test-sparse-revlog: add common-pattern rule for the timing
This will help to update the file output painlessly.
--- a/tests/common-pattern.py Tue Nov 19 01:35:59 2024 +0100
+++ b/tests/common-pattern.py Wed Dec 04 10:21:08 2024 +0100
@@ -123,6 +123,15 @@
br'\belapsed time: \d+.\d{6} seconds\b',
br'elapsed time: *.?????? seconds (glob)',
),
+ # delta find debug time
+ (
+ br'(DBG-DELTAS: .* - )duration=\d+\.\d{6}\b',
+ lambda m: br'%sduration=*.?????? (glob)' % m.group(1),
+ ),
+ (
+ br'DBG-DELTAS-SEARCH: delta-search-time=\d+.\d{6}',
+ br'DBG-DELTAS-SEARCH: delta-search-time=* (glob)',
+ ),
]
# Various platform error strings, keyed on a common replacement string