C++ code coverage tool for weird target platform

959 views Asked by At

Anyone knows c++ code coverage tool usable under the following conditions:

  1. Target platform is PowerPC CPU inside Nintendo WII dev.kit, that runs custom embedded OS. The only way to exchange data with the PC is to use custom proprietary API (sorry for my NDA).

  2. Compiler is not Microsoft, not GCC, not even command line. Namely it's Metrowerks IDE (running on Windows, of course).

Thanks in advance!

4

There are 4 answers

2
ovanes On

Do you know about BullseyeCoverage. It is a commercial tool, which supports really big number of platforms and compilers. If you don't see you compiler you can write them an inquiry. I did not find the Metrowerks Compiler in the list.

Hope that helps,
Ovanes

1
Fred Larson On

My shop has been using a customized version of Covtool. Perhaps that could be ported to your environment.

2
Ira Baxter On

See Cpp Test Coverage. This tool can be configured to collect data in embedded systems; you have to figure out how to export an array of bits from inside that system to an external file system, and if you can do that, it can show you precise test coverage.

Does the Metrowerks compiler have special syntax that is not ANSI standard?

0
Gerhard On

I have used Cantata. It works with Metroworks. It instruments your code so your application will no run at full speed. You just need rewrite the IO functions so output happens using the custom proprietary API.