Patchwork D471: run-tests: also highlight .py test files in summary messages

login
register
mail settings
Submitter phabricator
Date Aug. 23, 2017, 1:58 p.m.
Message ID <17373457543ff2a6e6e9ea9218928c27@localhost.localdomain>
Download mbox | patch
Permalink /patch/23227/
State Not Applicable
Headers show

Comments

phabricator - Aug. 23, 2017, 1:58 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG5f3845b4ca15: run-tests: also highlight .py test files in summary messages (authored by martinvonz).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D471?vs=1150&id=1196

REVISION DETAIL
  https://phab.mercurial-scm.org/D471

AFFECTED FILES
  tests/run-tests.py

CHANGE DETAILS




To: martinvonz, #hg-reviewers, quark
Cc: mercurial-devel

Patch

diff --git a/tests/run-tests.py b/tests/run-tests.py
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -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),
             ]
         }