You have to run gcov in the same directory as the .cpp file, otherwise it gives an error message about being unable to find it (even with a path.) This works:
python one
http://nedbatchelder.com/code/coverage/branch.html
没有评论:
发表评论