Patchwork D5569: tests: make HGCATAPULTSERVERPIPE imply HGTESTCATAPULTSERVERPIPE

login
register
mail settings
Submitter phabricator
Date Jan. 13, 2019, 2:08 a.m.
Message ID <8a63a7d4a42d8f0969e87c9c3a8856c7@localhost.localdomain>
Download mbox | patch
Permalink /patch/37693/
State Not Applicable
Headers show

Comments

phabricator - Jan. 13, 2019, 2:08 a.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG4f0ae5c64c1b: tests: make HGCATAPULTSERVERPIPE imply HGTESTCATAPULTSERVERPIPE (authored by spectral, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D5569?vs=13165&id=13189

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

AFFECTED FILES
  tests/run-tests.py

CHANGE DETAILS




To: spectral, #hg-reviewers
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
@@ -1409,7 +1409,8 @@ 
         session = str(uuid.uuid4())
         if PYTHON3:
             session = session.encode('ascii')
-        hgcatapult = os.getenv('HGTESTCATAPULTSERVERPIPE')
+        hgcatapult = os.getenv('HGTESTCATAPULTSERVERPIPE') or \
+            os.getenv('HGCATAPULTSERVERPIPE')
         def toggletrace(cmd=None):
             if not hgcatapult or hgcatapult == os.devnull:
                 return