Commit Graph

4 Commits

Author SHA1 Message Date
Treeston
2aaebc193c UnitTests: Cleanup + StringConvert/ChatCommand tests (PR #25353)
(cherry picked from commit 8ce3635d39)
2022-02-04 13:03:29 +01:00
Shauren
fc49ba2f85 Build/Tests: Set all our compile flags on tests
Closes #25349

(cherry picked from commit f8a5783327)
2022-02-04 12:08:48 +01:00
Shauren
8484376338 Build: Put tests-common and sfmt under correct folders when WITH_SOURCE_TREE is set to hierarchical-folders
(cherry picked from commit 19f69fcf06)
2022-02-04 10:59:00 +01:00
Carbenium
f837f28171 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
(cherry picked from commit 6a28ee7b2a)
2022-01-23 22:48:35 +01:00