9 Commits

Author SHA1 Message Date
Roger A. Light
17b3cea03f Remove redundant information from test identifiers 2025-08-23 01:02:45 +01:00
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
69f84bbca9 Simplify "expect_packet" tests. 2020-08-12 15:18:18 +01:00
Roger A. Light
093c8f90f5 Fix publish props not being passed to v5 msg callback for QoS 2 msgs.
Closes #1432. Thanks to Magnus Galåen.
2019-09-26 16:47:34 +01:00