Mercurial > hg
comparison tests/run-tests.py @ 40491:c311424ea579
catapult: add a bit more documentation on how to use catapult tracing
Differential Revision: https://phab.mercurial-scm.org/D5217
author | Kyle Lippincott <spectral@google.com> |
---|---|
date | Thu, 01 Nov 2018 16:51:21 -0700 |
parents | 889424be7ad2 |
children | fcdff048a8e5 |
comparison
equal
deleted
inserted
replaced
40490:889424be7ad2 | 40491:c311424ea579 |
---|---|
1082 env["HGUSER"] = "test" | 1082 env["HGUSER"] = "test" |
1083 env["HGENCODING"] = "ascii" | 1083 env["HGENCODING"] = "ascii" |
1084 env["HGENCODINGMODE"] = "strict" | 1084 env["HGENCODINGMODE"] = "strict" |
1085 env["HGHOSTNAME"] = "test-hostname" | 1085 env["HGHOSTNAME"] = "test-hostname" |
1086 env['HGIPV6'] = str(int(self._useipv6)) | 1086 env['HGIPV6'] = str(int(self._useipv6)) |
1087 # See contrib/catapipe.py for how to use this functionality. | |
1087 if 'HGTESTCATAPULTSERVERPIPE' not in env: | 1088 if 'HGTESTCATAPULTSERVERPIPE' not in env: |
1088 # If we don't have HGTESTCATAPULTSERVERPIPE explicitly set, pull the | 1089 # If we don't have HGTESTCATAPULTSERVERPIPE explicitly set, pull the |
1089 # non-test one in as a default, otherwise set to devnull | 1090 # non-test one in as a default, otherwise set to devnull |
1090 env['HGTESTCATAPULTSERVERPIPE'] = \ | 1091 env['HGTESTCATAPULTSERVERPIPE'] = \ |
1091 env.get('HGCATAPULTSERVERPIPE', os.devnull) | 1092 env.get('HGCATAPULTSERVERPIPE', os.devnull) |