mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-02-08 05:36:05 +08:00
Since generated keys have expiration date, it means that the tests are not reproductible over time. Integrator may be tempted to not rely on upstream files and generate them on the fly at built time. If need files are present this rule will be skip. This change was motivated for maintenance of 2.0.11 in Debian 12 (stable). I noticed that upstream regerated certs in master branch since, but still they will expire in future. Origin: https://github.com/eclipse-mosquitto/mosquitto/pull/3234 Relate-to: https://salsa.debian.org/debian-iot-team/mosquitto/-/merge_requests/21 Signed-off-by: Philippe Coval <rzr@users.sf.net>
33 lines
484 B
Makefile
33 lines
484 B
Makefile
include ../config.mk
|
|
|
|
.PHONY: all check test ptest clean ssl
|
|
|
|
all :
|
|
|
|
check : test
|
|
|
|
ssl: ssl/all-ca.crt
|
|
|
|
ssl/all-ca.crt: ssl/gen.sh
|
|
cd "${<D}" && "${CURDIR}/${<}"
|
|
test -e "$@"
|
|
|
|
test : utest ssl
|
|
$(MAKE) -C broker test
|
|
$(MAKE) -C lib test
|
|
$(MAKE) -C client test
|
|
|
|
ptest : utest ssl
|
|
$(MAKE) -C broker ptest
|
|
$(MAKE) -C lib ptest
|
|
$(MAKE) -C client test
|
|
|
|
utest :
|
|
$(MAKE) -C unit test
|
|
|
|
reallyclean : clean
|
|
clean :
|
|
$(MAKE) -C lib clean
|
|
$(MAKE) -C broker clean
|
|
$(MAKE) -C unit clean
|