test gtest and coverage test on mac os x with gcov and lcov. three steps: brew install cmake brew install lconv ./make_all.sh you can read the report in the folder of coverage.report