SimonKagstrom / kcov

Code coverage tool for compiled programs, Python and Bash which uses debugging information to collect and report data without special compilation options
http://simonkagstrom.github.io/kcov/
GNU General Public License v2.0
720 stars 110 forks source link

Better guide for Mac OS X in INSTALL.md #284

Closed vladignatyev closed 5 years ago

vladignatyev commented 5 years ago

The target for xcodebuild should be explicitly specified, otherwise kcov binary won't exist at the noted path.

Complete guide for my team looks and works as follows:

brew install jq zlib bash cmake pkgconfig
cd $HOME
wget https://github.com/SimonKagstrom/kcov/archive/v36.tar.gz
tar -xvf ./v36.tar.gz
rm ./v36.tar.gz
cd $HOME/kcov-36
cmake -G Xcode
xcodebuild -target kcov -configuration Release
chmod a+x $HOME/kcov-36/src/Release/kcov
echo "export PATH=\"$HOME/kcov-36/src/Release/:\$PATH:\"" >> ~/.bash_profile
codecov[bot] commented 5 years ago

Codecov Report

Merging #284 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #284   +/-   ##
=======================================
  Coverage   70.15%   70.15%           
=======================================
  Files          57       57           
  Lines        3689     3689           
=======================================
  Hits         2588     2588           
  Misses       1101     1101

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a9018d8...d57ef03. Read the comment docs.

codecov[bot] commented 5 years ago

Codecov Report

Merging #284 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #284   +/-   ##
=======================================
  Coverage   70.15%   70.15%           
=======================================
  Files          57       57           
  Lines        3689     3689           
=======================================
  Hits         2588     2588           
  Misses       1101     1101

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a9018d8...d57ef03. Read the comment docs.

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 70.155% when pulling d57ef03c1671f1c824b2445d3e7818c804dd8cbc on vladignatyev:patch-1 into a9018d8ae0971c3bb095dbd1d849326f02c59fd7 on SimonKagstrom:master.

SimonKagstrom commented 5 years ago

Merged, thanks!