run-tests: also highlight .py test files in summary messages
authorMartin von Zweigbergk <martinvonz@google.com>
Mon, 21 Aug 2017 22:13:51 -0700
changeset 33869 5f3845b4ca15
parent 33868 63773d7497b6
child 33870 aa81c7a617dd
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
tests/run-tests.py
--- 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),
             ]
         }