This website requires JavaScript.
Explore
Datenschutz
Impressum
Help
Sign In
eive
/
fsfw
Watch
15
Star
1
Fork
0
You've already forked fsfw
forked from
fsfw/fsfw
Code
Issues
Pull Requests
Releases
1
Wiki
Activity
95b476d4bd
fsfw
/
unittests
/
osal
/
CMakeLists.txt
6 lines
98 B
CMake
Raw
Normal View
History
Unescape
Escape
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
target_sources
(
${
FSFW_TEST_TGT
}
PRIVATE
restructured test folder and enabled cmake v3 support
2020-12-27 14:14:38 +01:00
T
e
s
t
M
e
s
s
a
g
e
Q
u
e
u
e
.
c
p
p
T
e
s
t
S
e
m
a
p
h
o
r
e
.
c
p
p
Added more unittest coverage Added Mutex for gmtime functions Moved Statics used in ClockCommon to ClockCommon
2022-03-25 18:47:31 +01:00
T
e
s
t
C
l
o
c
k
.
c
p
p
restructured test folder and enabled cmake v3 support
2020-12-27 14:14:38 +01:00
)
Reference in New Issue
Copy Permalink