我正在尝试使用CDash将测试结果发送到仪表板。它目前找不到gcov。
garrett% ctest -D Experimental
Site:
Build name: (empty)
Create new tag: 21170910-5324 - Experimental
Configure project
Cannot find ConfigureCommand key in the DartConfiguration.tcl
Build project
Cannot find MakeCommand key in the DartConfiguration.tcl
Test project
Start 1: os
1/2 Test #1: os ............................ Passed 73.42 sec
Start 2: io
2/2 Test #2: io ............................ Passed 80.85 sec
100% tests passed, 0 tests failed out of 2
Total Test time (real) = 154.28 sec
Performing coverage
Could not find gcov.
我之前尝试过运行覆盖,并收到错误消息,说它无法找到-lgcov库。
当我运行gcov -version时,我得到:
Apple LLVM version 8.1.0 (clang-802.0.42)
Optimized build.
Default target: x86_64-apple-darwin16.6.0
我知道它使用GCC,我可能没有正确的版本吗?我按照Kitware文档运行代码覆盖 - 更改标志等。