Commit Graph

6 Commits (ed8211858e27e3ae30a52ccd86eee8c545d9ad21)

Author SHA1 Message Date
Roger A. Light ed8211858e CMake build fixes 3 years ago
Roger A. Light 1e0a07ba5a Add missing int to string conversions. 3 years ago
Roger A. Light fa08918b48 Don't recompile objects for tests (in Makefile tests) 3 years ago
Roger A. Light edfb2278f8 Fix CMake test build 3 years ago
Kai Buschulte 71456077ad Introduce a common-options cmake target
this makes it possible to explicitly share compile options, without
using the `add_definition` function. This function declares options for
the current directory and below (in our case also for `deps`).

Adding -Wall, -Wconversion and -Wextra to at least make compiler
warnings visible for the cmake build.

Signed-off-by: Kai Buschulte <kai.buschulte@cedalo.com>
3 years ago
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>
3 years ago