mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-03-23 16:33:35 +08:00
Don't run persist sqlite tests if WITH_SQLITE=no
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
R=..
|
||||
include ${R}/config.mk
|
||||
|
||||
DIRS= \
|
||||
acl-file \
|
||||
dynamic-security \
|
||||
|
||||
@@ -306,12 +306,16 @@ PERSIST_TESTS = \
|
||||
./15-persist-subscription-v3-1-1.py \
|
||||
./15-persist-subscription-v5-0.py
|
||||
|
||||
PERSIST_PLUGINS = \
|
||||
persist_sqlite
|
||||
PERSIST_PLUGINS =
|
||||
ifeq ($(WITH_SQLITE),yes)
|
||||
PERSIST_PLUGINS+=persist_sqlite
|
||||
endif
|
||||
|
||||
15 : $(PERSISTENCE_TESTS)
|
||||
set -e; for p in $(PERSIST_PLUGINS); do for t in $(PERSIST_TESTS); do echo $$t $$p; $$t $$p; done; done
|
||||
ifeq ($(WITH_SQLITE),yes)
|
||||
./15-persist-migrate-db.py persist_sqlite
|
||||
endif
|
||||
|
||||
16 :
|
||||
./16-cmd-args.py
|
||||
|
||||
Reference in New Issue
Block a user