D4401: run-tests: don't append rtendtracing logs if pipe is /dev/null
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Mon Aug 27 14:22:15 EDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGa235ee4cfc1c: run-tests: don't append rtendtracing logs if pipe is /dev/null (authored by pulkit, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D4401?vs=10604&id=10607
REVISION DETAIL
https://phab.mercurial-scm.org/D4401
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
@@ -1389,7 +1389,8 @@
if os.getenv('MSYSTEM'):
script.append(b'alias pwd="pwd -W"\n')
- if os.getenv('HGCATAPULTSERVERPIPE'):
+ hgcatapult = os.getenv('HGCATAPULTSERVERPIPE')
+ if hgcatapult and hgcatapult != '/dev/null':
# Kludge: use a while loop to keep the pipe from getting
# closed by our echo commands. The still-running file gets
# reaped at the end of the script, which causes the while
To: pulkit, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list