Open Yuotau opened 6 months ago
“could not find executable valgrind”,命令行代码 `Test project /xxxx/xxxx/Y_ThreadPool-main/build Start 1: thread_pool_test 1/3 Test #1: thread_pool_test ................. Passed 0.09 sec Start 2: ValgrindTest1 Could not find executable valgrind Looked in the following places: valgrind valgrind Release/valgrind Release/valgrind Debug/valgrind Debug/valgrind MinSizeRel/valgrind MinSizeRel/valgrind RelWithDebInfo/valgrind RelWithDebInfo/valgrind Deployment/valgrind Deployment/valgrind Development/valgrind Development/valgrind Unable to find executable: valgrind 2/3 Test #2: ValgrindTest1 ....................Not Run 0.00 sec Start 3: ValgrindTest2 Could not find executable valgrind Looked in the following places: valgrind valgrind Release/valgrind Release/valgrind Debug/valgrind Debug/valgrind MinSizeRel/valgrind MinSizeRel/valgrind RelWithDebInfo/valgrind RelWithDebInfo/valgrind Deployment/valgrind Deployment/valgrind Development/valgrind Development/valgrind Unable to find executable: valgrind 3/3 Test #3: ValgrindTest2 ....................Not Run 0.00 sec
33% tests passed, 2 tests failed out of 3
Total Test time (real) = 0.09 sec
The following tests FAILED: 2 - ValgrindTest1 (Not Run) 3 - ValgrindTest2 (Not Run) Errors while running CTest `
未安装Valgrind,Valgrind用于内存检查工具,安装命令如下: sudo apt install valgrind
sudo apt install valgrind
未安装Valgrind,Valgrind用于内存检查工具,安装命令如下: sudo apt install valgrind ok thanks
“could not find executable valgrind”,命令行代码 `Test project /xxxx/xxxx/Y_ThreadPool-main/build Start 1: thread_pool_test 1/3 Test #1: thread_pool_test ................. Passed 0.09 sec Start 2: ValgrindTest1 Could not find executable valgrind Looked in the following places: valgrind valgrind Release/valgrind Release/valgrind Debug/valgrind Debug/valgrind MinSizeRel/valgrind MinSizeRel/valgrind RelWithDebInfo/valgrind RelWithDebInfo/valgrind Deployment/valgrind Deployment/valgrind Development/valgrind Development/valgrind Unable to find executable: valgrind 2/3 Test #2: ValgrindTest1 ....................Not Run 0.00 sec Start 3: ValgrindTest2 Could not find executable valgrind Looked in the following places: valgrind valgrind Release/valgrind Release/valgrind Debug/valgrind Debug/valgrind MinSizeRel/valgrind MinSizeRel/valgrind RelWithDebInfo/valgrind RelWithDebInfo/valgrind Deployment/valgrind Deployment/valgrind Development/valgrind Development/valgrind Unable to find executable: valgrind 3/3 Test #3: ValgrindTest2 ....................Not Run 0.00 sec
33% tests passed, 2 tests failed out of 3
Total Test time (real) = 0.09 sec
The following tests FAILED: 2 - ValgrindTest1 (Not Run) 3 - ValgrindTest2 (Not Run) Errors while running CTest `