+1
0
-1

Stubbing a macro

Hi,
I want stub a macro #define CMD(x,y)
this is in a header file headex.h
and i am working on headex.c file. how do i this?

Posting in: 

4 Answers:

+1
0
-1

The way that the VectorCAST tool works is that it uses your preprocessor to preprocess, and therefore expand, the macro definitions in the source code.  If there is a #define in the source code,...

+1
0
-1

We also have a project which has lots of macros that perform important functions. It would be very important to "stub the macro" with VectorCAST, as otherwise we see always the same...

+1
0
-1

We also have a project which has lots of macros that perform important functions. It would be very important to "stub the macro" with VectorCAST, as otherwise we see always the same...

+1
0
-1

Hello,

Use an Enterprise project

Project view > Files tab

Right click on file > View > Original source coverage report.

Regards,

Brian