7 Commits

Author SHA1 Message Date
Roger A. Light
343a984083 Big rejig of library tests
Includes full consistency between C/C++ library tests
2023-01-02 11:45:09 +00:00
Roger A. Light
6823e721e7 Factor out some test boilerplate 2022-11-28 00:26:51 +00:00
Norbert Heusser
f424667fca Merge branch 'develop' into NorbertHeusser:develop 2022-07-08 09:30:53 +00:00
Kai Buschulte
a883bda9c1 Add CMake test target
Use `ctest` or `make test` to run all tests.
With this it's also possible to run tests on a Mac.

Relative paths used in tests become absolute ones to make tests
executable from any build folder.

Also fixed race condition in
  test/broker/11-persistent-subscription-no-local.py

Signed-off-by: Kai Buschulte <kai.buschulte@cedalo.com>
2022-06-22 23:56:50 +01:00
Norbert Heusser
306b76d7f6 Create github build action to build Mosquitto and added timeout
to python tests waiting for subprocess to avoid github actione being blocked

Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
2022-05-08 10:40:30 +00:00
Roger A. Light
92c6fcf547 Tests should exit gracefully rather than being terminated. 2022-01-30 23:48:09 +00:00
Roger A. Light
3f84ad006d Add on_pre_connect() callback.
This allows clients to update usernames/passwords/TLS parameters prior
to reconnecting.
2021-02-16 11:45:54 +00:00