Re: [PATCH] run-tests: unset CHGDEBUG

2017-01-06 Thread Pierre-Yves David



On 01/06/2017 05:20 PM, Jun Wu wrote:

# HG changeset patch
# User Jun Wu 
# Date 1483719581 0
#  Fri Jan 06 16:19:41 2017 +
# Node ID 50ad6dbc71c76ab1a9e684b59720d8fa7fbd6797
# Parent  011122b3b1c42374fb0489d107418e1be3665ca6
# Available At https://bitbucket.org/quark-zju/hg-draft
#  hg pull https://bitbucket.org/quark-zju/hg-draft -r 50ad6dbc71c7
run-tests: unset CHGDEBUG

With CHGDEBUG, chg outputs much more stuff and the test could fail running
with --chg. So unset the environment variable.


Sure, pushed.


diff --git a/tests/run-tests.py b/tests/run-tests.py
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -850,5 +850,5 @@ class Test(unittest.TestCase):

 for k in ('HG HGPROF CDPATH GREP_OPTIONS http_proxy no_proxy ' +
-  'NO_PROXY').split():
+  'NO_PROXY CHGDEBUG').split():
 if k in env:
 del env[k]
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel



--
Pierre-Yves David
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


[PATCH] run-tests: unset CHGDEBUG

2017-01-06 Thread Jun Wu
# HG changeset patch
# User Jun Wu 
# Date 1483719581 0
#  Fri Jan 06 16:19:41 2017 +
# Node ID 50ad6dbc71c76ab1a9e684b59720d8fa7fbd6797
# Parent  011122b3b1c42374fb0489d107418e1be3665ca6
# Available At https://bitbucket.org/quark-zju/hg-draft
#  hg pull https://bitbucket.org/quark-zju/hg-draft -r 50ad6dbc71c7
run-tests: unset CHGDEBUG

With CHGDEBUG, chg outputs much more stuff and the test could fail running
with --chg. So unset the environment variable.

diff --git a/tests/run-tests.py b/tests/run-tests.py
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -850,5 +850,5 @@ class Test(unittest.TestCase):
 
 for k in ('HG HGPROF CDPATH GREP_OPTIONS http_proxy no_proxy ' +
-  'NO_PROXY').split():
+  'NO_PROXY CHGDEBUG').split():
 if k in env:
 del env[k]
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel