tests: don't run couple of tests related to extensions loading with chg
authorPulkit Goyal <7895pulkit@gmail.com>
Wed, 25 Mar 2020 20:15:57 +0530
changeset 44619 8cab8db59b6c
parent 44618 97265a0c0a42
child 44620 1bc345d488fd
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.
tests/test-bad-extension.t
tests/test-extension-timing.t
--- a/tests/test-bad-extension.t	Wed Mar 25 20:33:15 2020 +0530
+++ b/tests/test-bad-extension.t	Wed Mar 25 20:15:57 2020 +0530
@@ -1,3 +1,4 @@
+#require no-chg
   $ filterlog () {
   >   sed -e 's!^[0-9/]* [0-9:]* ([0-9]*)>!YYYY/MM/DD HH:MM:SS (PID)>!'
   > }
--- a/tests/test-extension-timing.t	Wed Mar 25 20:33:15 2020 +0530
+++ b/tests/test-extension-timing.t	Wed Mar 25 20:15:57 2020 +0530
@@ -1,3 +1,5 @@
+#require no-chg
+
 Test basic extension support
 
   $ cat > foobar.py <<EOF