Commit Graph

13 Commits

Author SHA1 Message Date
738f572043
added unit tests, minor API change 2022-04-01 18:38:25 +02:00
f6357b4531 WIP compiler Flags and new unit tests for fixes 2022-02-23 18:23:22 +01:00
ddcac2bbac
reapply clang format 2022-02-02 10:29:30 +01:00
b2b648c4aa
removed obsolete comment 2021-10-11 17:14:30 +02:00
fc9101cd8f
deleted unrequired files, common include deleted 2021-10-11 17:12:42 +02:00
3d6f28c48d
printouts disable by default 2021-10-11 16:14:30 +02:00
bb9ae86159
indentation fixes 2021-10-11 16:12:32 +02:00
22dbabba38
removed copy and paste error 2021-10-11 16:01:58 +02:00
ac8df112b1
small correction 2021-10-11 16:01:14 +02:00
fb67df6d7f
using testsconfig.h now 2021-10-11 15:45:37 +02:00
a827ec6a92
removed another include 2021-10-11 13:51:08 +02:00
ad3238aa19
removed problematic includes 2021-10-11 13:48:17 +02:00
ade15ad16d
tests can now be built as part of FSFW
This PR refactores the tests so they are built as part of the FSFW.
This is done by adding Catch2 with the FetchContent directive.

A future implementation might also use a system installation of Catch2
by first checking whether Catch2 can already be found as a package

The custom configuration folder testcfg was moved from the user folder
to the actual unittest folder.

The tests can be built by setting the CMake FSFW_BUILD_UNITTESTS option
to TRUE/ON. They are built with the static library and dropped inside
the build folders fsfw directory.
2021-10-07 13:24:46 +02:00