Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tests: Fix building against modern GTest | Jami Kettunen | 2023-02-26 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes being unable to locate GMock (GTest) with gtest v1.12.1 as tested on Void Linux: CMake Warning at tests/CMakeLists.txt:1 (find_package): By not providing "FindGMock.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "GMock", but CMake did not find one. Could not find a package configuration file provided by "GMock" with any of the following names: GMockConfig.cmake gmock-config.cmake Add the installation prefix of "GMock" to CMAKE_PREFIX_PATH or set "GMock_DIR" to a directory containing one of the above files. If "GMock" provides a separate development package or SDK, be sure it has been installed. Also mark the library as REQUIRED since without it found attempting to build tests just fails at link-time with various errors such as: /usr/bin/ld: gtest-menuitems.cpp:(.text+0x14d): undefined reference to `testing::internal::GetBoolAssertionFailureMessage[abi:cxx11](testing::AssertionResult const&, char const*, char const*, char const*)' | ||||
* | Clean up compilation flags | Robert Tari | 2022-01-14 | 1 | -2/+0 |
| | |||||
* | Use -no-pie build flags for test only | Robert Tari | 2021-08-10 | 1 | -2/+1 |
| | |||||
* | CMakeLists.txt: Move coverage report generation macro into basefolder's ↵ | Mike Gabriel | 2021-05-04 | 1 | -7/+0 |
| | | | | | | | | CMakeLists.txt file. With the previous approach, only coverage of the tests/ subfolder was reported (which always should be 100%). With this change, also coverage of the files in src/ is reported. | ||||
* | tests/CMakeLists.txt: Unit tests may only run and build if shared library ↵ | Mike Gabriel | 2021-04-21 | 1 | -0/+1 |
| | | | | target has been built. | ||||
* | tests/CMakeLists.txt: Build unit tests with --no-pie CXXFLAG. | Mike Gabriel | 2021-04-21 | 1 | -0/+2 |
| | |||||
* | tests/: Port to using GMock cmake package from cmake-extras. | Mike Gabriel | 2021-04-21 | 1 | -3/+17 |
| | |||||
* | {tests/,}CMakeLists.txt: Add ENABLE_COVERAGE build option. | Mike Gabriel | 2021-04-21 | 1 | -3/+5 |
| | |||||
* | Add CMakeLists.txt files. | Robert Tari | 2021-04-21 | 1 | -0/+13 |