Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.
Code coverage on static library
baptiste_c
Posts: 1 ✭
in C/C++test
Hello,
I'm working with Parasoft C++test 9.5.
I have two projects:
-one to build a static library
-one to build a main program to be linked with the static library
I succeeded to do code coverage on the main program only, but I don't know how to do code coverage on the static library as well...
How should the static library be compiled to be able to perform code coverage on it?
Which compilation options are needed? I tired to prefix compilation with "cpptestcc -line-coverage" but it does not seem to work...
Best Regards,
Baptiste
Tagged:
0