Skip to content
Snippets Groups Projects

CMake: Avoid executing tests during the build phase

Merged Ammar Nejati requested to merge correctGoogleTestDiscovery into develop

GoogleTest: gtest_discover_tests discovers tests by asking the compiled test executable to enumerate its tests. PRE_TEST delays test discovery until just prior to test execution; this avoids calling the executables during the build phase and hence, error messages like "Error running test executable".

Related to issue #133 (closed)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading