Logo
Explore Datenschutz Impressum Help
Sign In
eive/fsfw
15
1
Fork 0
You've already forked fsfw
forked from fsfw/fsfw
Code Issues Pull Requests Releases 1 Wiki Activity
Files
e263f2fbdc00e579902c1c5e339bb7566d5b3389
fsfw/tests/src/fsfw_tests/CMakeLists.txt

10 lines
159 B
CMake
Raw Normal View History

added integration test code
2021-10-17 23:27:31 +02:00
add_subdirectory(integration)
trying to fuse header / inc
2021-07-19 16:25:51 +02:00
if(FSFW_ADD_INTERNAL_TESTS)
add_subdirectory(internal)
endif()
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
if(FSFW_BUILD_UNITTESTS)
trying to fuse header / inc
2021-07-19 16:25:51 +02:00
add_subdirectory(unit)
endif()
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 344ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API