当我们尝试使用Catch2测试用例运行ctest时,我们在最后一行运行CTest时得到了错误,但是测试用例运行正常。
在ParseAndAddCatchTests.cmake中添加CMakeLists.txt之后。
enable_testing()
include(ParseAndAddCatchTests.cmake)
ParseAndAddCatchTests(TauTest)使用'ctest‘命令运行测试用例。在执行测试后,我们得到了以下错误。
Errors while running CTest
发布于 2018-06-08 08:46:45
看来测试用例失败了。这就是为什么我得到了错误Errors while running CTest
https://stackoverflow.com/questions/50641314
复制相似问题