You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are 2 configurations for a file [trigger.c] due to a macro i.e #define TRIGGER which can have values ON and OFF [ and hence 2 configurations ]. By 2 configurations, it is meant that
a. Configuration 1 : trigger.c - #define TRIGGER ON
b. Configuration 1 : trigger.c - #define TRIGGER OFF
Due to 2 different macros, different parts of code are enabled. But a consolidated coverage report is required, i.e which combines both coverage reports of configuration 1 and configuration 2 into a single report to show if any part of the code is missed to test.
Is this possible by directly using gcov and/or Gcovr and/or Gcov-tool and/or Gcov-dump?
Is it possible to check for coverage of a particular file? i.e in a project there are multiple files such as trigger.c , trigger_internal.c etc but consolidated coverage of only trigger.c is required.
Please advise how to proceed on these 2 queries.
The text was updated successfully, but these errors were encountered:
a. Configuration 1 : trigger.c - #define TRIGGER ON
b. Configuration 1 : trigger.c - #define TRIGGER OFF
Due to 2 different macros, different parts of code are enabled. But a consolidated coverage report is required, i.e which combines both coverage reports of configuration 1 and configuration 2 into a single report to show if any part of the code is missed to test.
Is this possible by directly using gcov and/or Gcovr and/or Gcov-tool and/or Gcov-dump?
Please advise how to proceed on these 2 queries.
The text was updated successfully, but these errors were encountered: