D6452: tests: make run-tests exit non-zero if there are "errors"

spectral (Kyle Lippincott) phabricator at mercurial-scm.org
Wed May 29 08:55:05 EDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG15d5a2de44aa: tests: make run-tests exit non-zero if there are "errors" (authored by spectral, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6452?vs=15280&id=15281

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

AFFECTED FILES
  tests/run-tests.py

CHANGE DETAILS

diff --git a/tests/run-tests.py b/tests/run-tests.py
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -2912,7 +2912,7 @@
 
                 result = runner.run(suite)
 
-            if result.failures:
+            if result.failures or result.errors:
                 failed = True
 
             result.onEnd()



To: spectral, #hg-reviewers, pulkit
Cc: mercurial-devel


More information about the Mercurial-devel mailing list