plugin: Gate the plugin subsystem with the --enable-plugins configure flag

Since we are planning to release a bug fix release, and the plugin
subsystem is not yet complete, it is better to make plugin support
opt-in while we continue testing.

Signed-off-by: Christian Decker <decker.christian@gmail.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Christian Decker
2019-01-11 09:59:55 +10:30
committed by neil saitug
parent a01342a66a
commit b7a56f0531
9 changed files with 33 additions and 10 deletions

View File

@@ -41,6 +41,7 @@ EXPERIMENTAL_FEATURES = os.getenv("EXPERIMENTAL_FEATURES", config['EXPERIMENTAL_
TIMEOUT = int(os.getenv("TIMEOUT", "60"))
VALGRIND = os.getenv("VALGRIND", config['VALGRIND']) == "1"
SLOW_MACHINE = os.getenv("SLOW_MACHINE", "0") == "1"
PLUGINS = os.getenv("PLUGINS", config['PLUGINS']) == "1"
def wait_for(success, timeout=TIMEOUT):