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:
Kumar Gala 2020-11-18 14:19:57 -06:00 committed by Anas Nashif
commit cc0c58c3af

View file

@ -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