tests: coverage: GCOV counter value changed in GCC10.
Updated the GCOV_COUNTERS value, without which the coverage data was corrupted when gcc 10.2 was used. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
7ca246834c
commit
cc0c58c3af
1 changed files with 3 additions and 1 deletions
|
@ -30,7 +30,9 @@
|
||||||
#ifndef _COVERAGE_H_
|
#ifndef _COVERAGE_H_
|
||||||
#define _COVERAGE_H_
|
#define _COVERAGE_H_
|
||||||
|
|
||||||
#if (__GNUC__ >= 8)
|
#if (__GNUC__ >= 10)
|
||||||
|
#define GCOV_COUNTERS 8U
|
||||||
|
#elif (__GNUC__ >= 8)
|
||||||
#define GCOV_COUNTERS 9U
|
#define GCOV_COUNTERS 9U
|
||||||
#else
|
#else
|
||||||
#define GCOV_COUNTERS 10U
|
#define GCOV_COUNTERS 10U
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue