Configuration - Add support for Google Test framework in CMake#443
Merged
dpasukhi merged 12 commits intoOpen-Cascade-SAS:IRfrom Mar 24, 2025
Merged
Configuration - Add support for Google Test framework in CMake#443dpasukhi merged 12 commits intoOpen-Cascade-SAS:IRfrom
dpasukhi merged 12 commits intoOpen-Cascade-SAS:IRfrom
Conversation
This was
linked to
issues
Mar 16, 2025
Enhance Google Test integration and add support for test projects. Each Toolkit have GTests folder with place for new tests. For adding new tests needs to extend FILES.cmake files in each GTests folder. The single executable is created for each toolkit with all tests. The tests grouped by module and toolkit with :: as separator. Added option to download GTest by Cmake if not found. Add GTest for PLib_JacobiPolynomial with comprehensive test cases Add GTest for TCollection_AsciiString and TCollection_ExtendedString Set C++ standard to C++14 for GTest compatibility if required
18e2391 to
fca3d08
Compare
… workflows for multiple platforms
…workflow for multiple platforms
…e related scripts
…ies on Windows and fix gmock_main linking issue
…ker errors; modify test for double precision in TCollection_AsciiString
… by using only GTest::gtest_main target
…actor CMake functions for clarity
…ng compile definitions in CMake files
… and ensure shared CRT for Windows; remove unused variable description
AtheneNoctuaPt
approved these changes
Mar 24, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Enhance Google Test integration and add support for test projects.
Each Toolkit have GTests folder with place for new tests.
For adding new tests needs to extend FILES.cmake files in each GTests folder.
The single executable is created for each toolkit with all tests.
The tests grouped by module and toolkit with :: as separator.
Added option to download GTest by Cmake if not found.
Add GTest for PLib_JacobiPolynomial with comprehensive test cases
Add GTest for TCollection_AsciiString and TCollection_ExtendedString
Set C++ standard to C++14 for GTest compatibility if required