Commit Graph

4 Commits

Author SHA1 Message Date
Treeston
8ce3635d39 UnitTests: Cleanup + StringConvert/ChatCommand tests (PR #25353) 2020-08-29 22:03:22 +02:00
Shauren
f8a5783327 Build/Tests: Set all our compile flags on tests
Closes #25349
2020-08-29 12:06:12 +02:00
Shauren
19f69fcf06 Build: Put tests-common and sfmt under correct folders when WITH_SOURCE_TREE is set to hierarchical-folders 2020-08-28 15:10:21 +02:00
Carbenium
6a28ee7b2a dep: Add catch2 unit test framework and wire it up
To enable the test suite, make sure to configure CMake with -DBUILD_TESTING=1 , since it is disabled by default. The catch2 dependency will be downloaded during configure time.

Also add a new target "tests-common", which includes unit tests for the "common" project. To finally run the tests use the "test" target.

CircleCI: Run unit tests
2020-07-24 12:00:54 +02:00