Patchwork run-tests: unset CHGDEBUG

login
register
mail settings
Submitter Jun Wu
Date Jan. 6, 2017, 4:20 p.m.
Message ID <50ad6dbc71c76ab1a9e6.1483719646@x1c>
Download mbox | patch
Permalink /patch/18127/
State Accepted
Headers show

Comments

Jun Wu - Jan. 6, 2017, 4:20 p.m.
# HG changeset patch
# User Jun Wu <quark@fb.com>
# Date 1483719581 0
#      Fri Jan 06 16:19:41 2017 +0000
# 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.
Pierre-Yves David - Jan. 6, 2017, 4:58 p.m.
On 01/06/2017 05:20 PM, Jun Wu wrote:
> # HG changeset patch
> # User Jun Wu <quark@fb.com>
> # Date 1483719581 0
> #      Fri Jan 06 16:19:41 2017 +0000
> # 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
>

Patch

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]