run-tests: also highlight .py test files in summary messages
With the .t files highlighted, it's very easy to not even notice
failed .py tests.
Differential Revision: https://phab.mercurial-scm.org/D471
--- a/tests/run-tests.py Sun Aug 20 10:55:05 2017 -0700
+++ b/tests/run-tests.py Mon Aug 21 22:13:51 2017 -0700
@@ -127,11 +127,11 @@
(r'^ERROR: ', token.Generic.Failed, 'failed'),
],
'skipped': [
- (r'[\w-]+\.t', token.Generic.SName),
+ (r'[\w-]+\.(t|py)', token.Generic.SName),
(r':.*', token.Generic.Skipped),
],
'failed': [
- (r'[\w-]+\.t', token.Generic.FName),
+ (r'[\w-]+\.(t|py)', token.Generic.FName),
(r'(:| ).*', token.Generic.Failed),
]
}