# HG changeset patch # User Pierre-Yves David # Date 1681253821 -7200 # Node ID 59fda8516774ee9e47d2a88e5b6c9f42ab611b1c # Parent 98fc949bec14490039147e9b617c315041ff99cc tests: automatically glob the discovery timing information Time is not stable in tests. diff -r 98fc949bec14 -r 59fda8516774 tests/common-pattern.py --- a/tests/common-pattern.py Thu Apr 06 11:41:51 2023 +0100 +++ b/tests/common-pattern.py Wed Apr 12 00:57:01 2023 +0200 @@ -122,6 +122,11 @@ % (m.group(1), m.group(2)) ), ), + # `discovery debug output + ( + br'\b(\d+) total queries in \d.\d\d\d\ds\b', + lambda m: (br'%s total queries in *.????s (glob)' % m.group(1)), + ), ] # Various platform error strings, keyed on a common replacement string