From patchwork Thu Mar 26 07:36:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [8, of, 8] tests: don't run couple of tests related to extensions loading with chg From: Pulkit Goyal <7895pulkit@gmail.com> X-Patchwork-Id: 45903 Message-Id: <62c6488a31b1af1a36ed.1585208215@workspace> To: mercurial-devel@mercurial-scm.org Date: Thu, 26 Mar 2020 13:06:55 +0530 # HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 1585147557 -19800 # Wed Mar 25 20:15:57 2020 +0530 # Node ID 62c6488a31b1af1a36edf04f7797bc54c7061671 # Parent eedfec1725f230d9d074ffca2d543b119bc18954 tests: don't run couple of tests related to extensions loading with chg The couple of files test extensions loading and debugging that. It sets `devel.debug.extensions` to True to do that. Either we have to restart chg if this config is set or just don't run these tests on chg. I tried the first way by adding the config option to chgserver.py list of config subsections but that does not seem to work. diff --git a/tests/test-bad-extension.t b/tests/test-bad-extension.t --- a/tests/test-bad-extension.t +++ b/tests/test-bad-extension.t @@ -1,3 +1,4 @@ +#require no-chg $ filterlog () { > sed -e 's!^[0-9/]* [0-9:]* ([0-9]*)>!YYYY/MM/DD HH:MM:SS (PID)>!' > } diff --git a/tests/test-extension-timing.t b/tests/test-extension-timing.t --- a/tests/test-extension-timing.t +++ b/tests/test-extension-timing.t @@ -1,3 +1,5 @@ +#require no-chg + Test basic extension support $ cat > foobar.py <