Mercurial > public > mercurial-scm > hg
diff tests/run-tests.py @ 33869:5f3845b4ca15
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
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Mon, 21 Aug 2017 22:13:51 -0700 |
parents | 4e8a46c25fac |
children | aa81c7a617dd |
line wrap: on
line diff
--- 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), ] }