mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-09-23 08:33:48 +08:00
Test fixes for WITH_BROKER=OFF
This commit is contained in:
committed by
Roger Light
parent
2f88c272bb
commit
9fe2640558
+1
-1
@@ -185,7 +185,7 @@ if(WITH_APPS)
|
||||
add_subdirectory(apps)
|
||||
endif()
|
||||
|
||||
if(WITH_PLUGINS)
|
||||
if(WITH_BROKER AND WITH_PLUGINS)
|
||||
add_subdirectory(plugins)
|
||||
endif()
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ from mosq_test_helper import *
|
||||
import json
|
||||
import shutil
|
||||
|
||||
mosq_test.require_features(["WITH_CONTROL", "WITH_PLUGINS", "WITH_PLUGIN_DYNAMIC_SECURITY", "WITH_TLS"])
|
||||
mosq_test.require_features(["WITH_BROKER", "WITH_CONTROL", "WITH_PLUGINS", "WITH_PLUGIN_DYNAMIC_SECURITY", "WITH_TLS"])
|
||||
|
||||
def write_config(filename, ports):
|
||||
with open(filename, 'w') as f:
|
||||
|
||||
@@ -5,7 +5,7 @@ import json
|
||||
import os
|
||||
import shutil
|
||||
|
||||
mosq_test.require_features(["WITH_CONTROL", "WITH_PLUGINS", "WITH_PLUGIN_DYNAMIC_SECURITY", "WITH_TLS"])
|
||||
mosq_test.require_features(["WITH_BROKER", "WITH_CONTROL", "WITH_PLUGINS", "WITH_PLUGIN_DYNAMIC_SECURITY", "WITH_TLS"])
|
||||
|
||||
def write_config(filename, ports):
|
||||
with open(filename, 'w') as f:
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
from mosq_test_helper import *
|
||||
import shutil
|
||||
|
||||
mosq_test.require_features(["WITH_CLIENTS", "WITH_PERSISTENCE"])
|
||||
mosq_test.require_features(["WITH_BROKER", "WITH_CLIENTS", "WITH_PERSISTENCE"])
|
||||
|
||||
def write_config(conf_file, port):
|
||||
with open(conf_file, 'w') as f:
|
||||
|
||||
@@ -5,7 +5,7 @@ import json
|
||||
import shutil
|
||||
import signal
|
||||
|
||||
mosq_test.require_features(["WITH_TLS"])
|
||||
mosq_test.require_features(["WITH_BROKER", "WITH_TLS"])
|
||||
|
||||
def write_config(filename, pw_file, port):
|
||||
with open(filename, 'w') as f:
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
|
||||
from mosq_test_helper import *
|
||||
|
||||
mosq_test.require_features(["WITH_BROKER"])
|
||||
|
||||
def do_test(proto_ver, env):
|
||||
rc = 1
|
||||
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
|
||||
from mosq_test_helper import *
|
||||
|
||||
mosq_test.require_features(["WITH_BROKER"])
|
||||
|
||||
def do_test(proto_ver):
|
||||
rc = 1
|
||||
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
from mosq_test_helper import *
|
||||
import json
|
||||
|
||||
mosq_test.require_features(["WITH_BROKER"])
|
||||
|
||||
def do_test(proto_ver):
|
||||
rc = 1
|
||||
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
from mosq_test_helper import *
|
||||
import json
|
||||
|
||||
mosq_test.require_features(["WITH_BROKER"])
|
||||
|
||||
def do_test(proto_ver):
|
||||
rc = 1
|
||||
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
from mosq_test_helper import *
|
||||
import json
|
||||
|
||||
mosq_test.require_features(["WITH_BROKER"])
|
||||
|
||||
def do_test(proto_ver):
|
||||
rc = 1
|
||||
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
from mosq_test_helper import *
|
||||
import json
|
||||
|
||||
mosq_test.require_features(["WITH_BROKER"])
|
||||
|
||||
def do_test(proto_ver):
|
||||
rc = 1
|
||||
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
from mosq_test_helper import *
|
||||
import platform
|
||||
|
||||
mosq_test.require_features(["WITH_BROKER"])
|
||||
|
||||
def do_test(format_str, expected_output, proto_ver=4, payload="message"):
|
||||
rc = 1
|
||||
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
|
||||
from mosq_test_helper import *
|
||||
|
||||
mosq_test.require_features(["WITH_BROKER"])
|
||||
|
||||
def do_test(proto_ver):
|
||||
rc = 1
|
||||
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
|
||||
from mosq_test_helper import *
|
||||
|
||||
mosq_test.require_features(["WITH_BROKER"])
|
||||
|
||||
def do_test(proto_ver):
|
||||
rc = 1
|
||||
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
|
||||
from mosq_test_helper import *
|
||||
|
||||
mosq_test.require_features(["WITH_BROKER"])
|
||||
|
||||
def do_test(proto_ver):
|
||||
rc = 1
|
||||
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
|
||||
from mosq_test_helper import *
|
||||
|
||||
mosq_test.require_features(["WITH_BROKER"])
|
||||
|
||||
def do_test(proto_ver, env):
|
||||
rc = 1
|
||||
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
|
||||
from mosq_test_helper import *
|
||||
|
||||
mosq_test.require_features(["WITH_BROKER"])
|
||||
|
||||
def write_file(filename):
|
||||
with open(filename, 'w') as f:
|
||||
pass
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
|
||||
from mosq_test_helper import *
|
||||
|
||||
mosq_test.require_features(["WITH_BROKER"])
|
||||
|
||||
def write_file(filename):
|
||||
with open(filename, 'w') as f:
|
||||
f.write("line1\n")
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
|
||||
from mosq_test_helper import *
|
||||
|
||||
mosq_test.require_features(["WITH_BROKER"])
|
||||
|
||||
def write_config(filename, port, V):
|
||||
with open(filename, 'w') as f:
|
||||
f.write("-p %d\n" % (port))
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
|
||||
from mosq_test_helper import *
|
||||
|
||||
mosq_test.require_features(["WITH_BROKER"])
|
||||
|
||||
def do_test(proto_ver):
|
||||
rc = 1
|
||||
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
|
||||
from mosq_test_helper import *
|
||||
|
||||
mosq_test.require_features(["WITH_BROKER"])
|
||||
|
||||
def do_test(proto_ver):
|
||||
rc = 1
|
||||
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
|
||||
from mosq_test_helper import *
|
||||
|
||||
mosq_test.require_features(["WITH_BROKER"])
|
||||
|
||||
def do_test(proto_ver):
|
||||
rc = 1
|
||||
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
|
||||
from mosq_test_helper import *
|
||||
|
||||
mosq_test.require_features(["WITH_BROKER"])
|
||||
|
||||
def do_test(proto_ver):
|
||||
rc = 1
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
from mosq_test_helper import *
|
||||
|
||||
mosq_test.require_features(["WITH_SOCKS"])
|
||||
mosq_test.require_features(["WITH_BROKER", "WITH_SOCKS"])
|
||||
|
||||
def do_test(proto_ver, host):
|
||||
rc = 1
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
from mosq_test_helper import *
|
||||
|
||||
mosq_test.require_features(["WITH_SOCKS"])
|
||||
mosq_test.require_features(["WITH_BROKER", "WITH_SOCKS"])
|
||||
|
||||
def do_test(proto_ver, host):
|
||||
rc = 1
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
from mosq_test_helper import *
|
||||
|
||||
mosq_test.require_features(["WITH_SOCKS"])
|
||||
mosq_test.require_features(["WITH_BROKER", "WITH_SOCKS"])
|
||||
|
||||
def do_test(proto_ver, host):
|
||||
rc = 1
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
|
||||
from mosq_test_helper import *
|
||||
|
||||
mosq_test.require_features(["WITH_BROKER"])
|
||||
|
||||
def do_test(proto_ver):
|
||||
rc = 1
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
from mosq_test_helper import *
|
||||
|
||||
mosq_test.require_features(["WITH_THREADING"])
|
||||
mosq_test.require_features(["WITH_BROKER", "WITH_THREADING"])
|
||||
|
||||
def do_test(proto_ver):
|
||||
rc = 1
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
|
||||
from mosq_test_helper import *
|
||||
|
||||
mosq_test.require_features(["WITH_BROKER"])
|
||||
|
||||
def do_test(proto_ver):
|
||||
rc = 1
|
||||
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
|
||||
from mosq_test_helper import *
|
||||
|
||||
mosq_test.require_features(["WITH_BROKER"])
|
||||
|
||||
def do_test(proto_ver, env):
|
||||
rc = 1
|
||||
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
|
||||
from mosq_test_helper import *
|
||||
|
||||
mosq_test.require_features(["WITH_BROKER"])
|
||||
|
||||
def do_test(proto_ver):
|
||||
rc = 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user