|
Post by Pete by email on Aug 20, 2013 16:15:47 GMT -5
Martin,
Have you have used "purecov" from IBM ?
It instruments object code at load time and the use model is to prepend "purecov" to the loader command line, similar to testape. I was trying to work through this using testape but have not been successful. Any suggestions ?
Pete
|
|
|
Post by Martin Nielsen on Aug 20, 2013 16:18:20 GMT -5
Hi Pete
There is an example on how to use purecov in the chapter 4.4 - that is the way I used to use purecov and TestApe long time ago.
Can you do it like that ?
Br, Martin
|
|
|
Post by Pete by email on Aug 20, 2013 16:22:03 GMT -5
I believe that the windows version of purcov will instrument the executable post linking, but the linux version (at least the version I have available) does not - it has the same usage model as testape.
What I have hacked together is a two pass script that run testape with -o to save the intermediate files and then I re-execute the link command but with purecov prepended to it.
I can suggest several ways to enhance testape to support purecov this in a clean way:
1. Using an option: -purecov=purecovexec - where purecovexec is prepended to the linker command line.
2. Recognizing it on the commane line: testape purecovexec gcc ......
Pete
|
|
|
Post by Martin Nielsen on Aug 20, 2013 16:25:36 GMT -5
I really appreciate your feedback
I like number 2 - it is a good idea. I will make a beta version available for you that will allow that. The question, is if TestApe will be able to understand the messages from purecov, but if purecov uses the same model as TestApe, I see no reason why it should not work. It remains to be seen though.
Cool - well done :-)
I'll be in touch - I have a lot of mail/request currently, so it cannot be ready before mid next week.
|
|
|
Post by Martin Nielsen on Sept 1, 2013 16:17:11 GMT -5
Hi Pete
There is now a new beta available that will support the usage of purecoverage in a proper way.
Again, thanks for your feedback Martin
|
|
|
Post by linka on Oct 1, 2013 9:56:49 GMT -5
Hi I hope youll might find answers in the typemock unit testing services - the link below www typemock com
|
|