mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-03-23 08:23:26 +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= \
|
DIRS= \
|
||||||
acl-file \
|
acl-file \
|
||||||
dynamic-security \
|
dynamic-security \
|
||||||
|
|||||||
@@ -306,12 +306,16 @@ PERSIST_TESTS = \
|
|||||||
./15-persist-subscription-v3-1-1.py \
|
./15-persist-subscription-v3-1-1.py \
|
||||||
./15-persist-subscription-v5-0.py
|
./15-persist-subscription-v5-0.py
|
||||||
|
|
||||||
PERSIST_PLUGINS = \
|
PERSIST_PLUGINS =
|
||||||
persist_sqlite
|
ifeq ($(WITH_SQLITE),yes)
|
||||||
|
PERSIST_PLUGINS+=persist_sqlite
|
||||||
|
endif
|
||||||
|
|
||||||
15 : $(PERSISTENCE_TESTS)
|
15 : $(PERSISTENCE_TESTS)
|
||||||
set -e; for p in $(PERSIST_PLUGINS); do for t in $(PERSIST_TESTS); do echo $$t $$p; $$t $$p; done; done
|
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
|
./15-persist-migrate-db.py persist_sqlite
|
||||||
|
endif
|
||||||
|
|
||||||
16 :
|
16 :
|
||||||
./16-cmd-args.py
|
./16-cmd-args.py
|
||||||
|
|||||||
Reference in New Issue
Block a user