Commit graph

4831 commits

Author SHA1 Message Date
Roger Light
4cf0eb296b Fix Windows signals not being reset 2026-05-03 01:17:26 +01:00
Roger Light
8d129c47cd Tests: Fix mosquitto_signal tests not being added correctly. 2026-05-03 01:17:26 +01:00
Roger Light
58837cf026 Tests: Fix slow tests on Windows due to ipv4/6 dual stack and assuming ipv4 2026-05-03 01:17:26 +01:00
Roger Light
0219b5c8dc Tests: Copy OS env vars to child processes
This is especially important on Windows where the lack of some system
env vars can result in failures
2026-05-03 01:17:26 +01:00
Roger Light
be482c55a2 Tests: Add missing client arg case 2026-05-03 01:17:26 +01:00
Roger Light
50a1083b60 Tests: Fix client/app output comparisons 2026-05-03 01:17:26 +01:00
Roger Light
159b646b3b Tests: Explicitly call tests with python3 2026-05-03 01:17:26 +01:00
Roger Light
78bfe27331 Tests: Add valid disconnect exceptions on Windows 2026-05-03 01:17:26 +01:00
Roger Light
9e9a172435 Tests: Add support for broker reload on Windows 2026-05-03 01:17:26 +01:00
Roger A. Light
87c5cb13c5 Tests: Add support for broker shutdown on Windows 2026-05-03 01:17:26 +01:00
Roger A. Light
f6f5de34d6 Tests: Use tempfile for broker logging to prevent stderr buffer filling 2026-05-03 01:17:26 +01:00
Roger Light
6fda6f61b2 Tests: Use platform independent binary paths 2026-05-03 01:17:26 +01:00
Roger A. Light
e3d73f7c20 Tests: chown not supported on Windows 2026-05-03 01:17:26 +01:00
Roger A. Light
fa7b0479d2 Tests: Add path for tests on Windows 2026-05-03 01:17:26 +01:00
Roger A. Light
4ed937a183 Tests: Make path use cross platform 2026-05-03 01:17:26 +01:00
Roger A. Light
53822b18eb cmake: Refactor threadlib linking 2026-05-03 01:17:26 +01:00
Roger A. Light
0102b95af1 Tests: Windows build fixes 2026-05-03 01:17:26 +01:00
Roger A. Light
db22e4281a Tests: Add vcpkg dependencies 2026-05-03 01:17:26 +01:00
Roger A. Light
2a06f4434c Fix unlikely use-after free on out of memory 2026-04-16 21:35:46 +01:00
Roger A. Light
f2d80aa6b8 Fix cmake ASAN build 2026-04-16 21:35:46 +01:00
Roger A. Light
9193d14871 Combine Windows build workflows 2026-04-16 21:35:46 +01:00
Roger A. Light
455269701e Test: Decode printing of broker start failure 2026-04-16 21:35:46 +01:00
Roger A. Light
7337923351 Parallel tests on macos 2026-04-16 21:35:46 +01:00
Roger A. Light
939de7b9eb CMake ASAN build 2026-04-16 21:35:46 +01:00
Roger A. Light
bd244f0bee cmake: Give warnings for builtin websockets without tls case 2026-04-16 21:35:46 +01:00
Roger A. Light
44a773f502 Port coverage workflow to cmake 2026-04-16 21:35:46 +01:00
Roger A. Light
25f6010751 Improve error printing for msg seq tests 2026-04-16 21:35:46 +01:00
Roger A. Light
1e6aa5def1 Port buildtest to cmake 2026-04-16 21:35:46 +01:00
Roger A. Light
88b7a48e0e Partial support for building fuzzers in cmake 2026-04-16 21:35:46 +01:00
Roger A. Light
45cbd77bf3 Add jemalloc option to cmake 2026-04-16 21:35:46 +01:00
Roger Light
93bbd2ad6e Use ccache for cmake build 2026-04-16 21:35:46 +01:00
Roger Light
310dafd6c9 Retry persist check db checks up to 5 times
The 1 second delay on each iteration helps ensure that the data is
written to disk before the check, on high load scenarios.
2026-04-16 21:35:46 +01:00
Roger A. Light
fd64deacfe cmake: Fix missing xtreport option 2026-04-16 21:35:46 +01:00
Roger A. Light
ab2718922c cmake: Tidy options 2026-04-16 21:35:46 +01:00
Roger A. Light
589b9c047e cmake: Add missing WITH_PERSISTENCE compile time option. 2026-04-16 21:35:46 +01:00
Roger A. Light
41ec103b37 Remove unused compile options 2026-04-16 21:35:46 +01:00
Roger A. Light
9fe2640558 Test fixes for WITH_BROKER=OFF 2026-04-16 21:35:46 +01:00
Roger A. Light
2f88c272bb Test fixes for INC_MEMTRACK=OFF 2026-04-16 21:35:46 +01:00
Roger A. Light
e897b3a4d0 Test fix for WITH_THREADING=OFF 2026-04-16 21:35:46 +01:00
Roger A. Light
25e4c7a0ba Test fixes for WITH_TLS=OFF 2026-04-16 21:35:46 +01:00
Roger A. Light
8d8eaccccf Fix incorrect compile guard 2026-04-16 21:35:46 +01:00
Roger A. Light
5c86508b66 Always provide TLS state in responses even if TLS disabled 2026-04-16 21:35:46 +01:00
Roger A. Light
66e9663ece Fix unused variable warnings 2026-04-16 21:35:46 +01:00
Roger A. Light
284e388292 cmake: Use ninja for builds 2026-04-16 21:35:46 +01:00
Roger A. Light
246cd96d34 cmake: Fix test for WITH_SYS_TREE=OFF 2026-04-16 21:35:46 +01:00
Roger A. Light
d382c07377 cmake: Fix build and tests for WITH_LIB_CPP=OFF 2026-04-16 21:35:46 +01:00
Roger A. Light
14b5f40620 Test: Increase timeout for high load situations. 2026-04-16 21:35:46 +01:00
Roger A. Light
e5896c99c1 Fix incorrect port in lib msg sequence test 2026-04-16 21:35:46 +01:00
Roger A. Light
fe4343dac7 Tests: Add feature guards
This allows test runners to set environment variables to let tests know which features are available. This is done by the cmake tests, but probably won't be extended to the make tests.
2026-04-16 21:35:46 +01:00
Roger A. Light
ada3184901 cmake: Save features in use to a property 2026-04-16 21:35:46 +01:00