tests: update lcov ignore_error param 18/42618/1
authorIvan Ivanets <[email protected]>
Tue, 1 Apr 2025 17:30:34 +0000 (20:30 +0300)
committerIvan Ivanets <[email protected]>
Tue, 1 Apr 2025 17:30:34 +0000 (20:30 +0300)
Type: test

Add the value 'negative' into ignore_error param to fix lcov error
for test-cov.

Change-Id: Ia10f70315e9f9f24bfa1d177a7293b65c3889fd2
Signed-off-by: Ivan Ivanets <[email protected]>
test/Makefile

index 37f8e2d..6196be8 100644 (file)
@@ -402,7 +402,7 @@ endif
 LCOV_VERSION=$(shell lcov --version | sed -E 's/^lcov: LCOV version ([0-9]+)[.].*/\1/')
 LCOV_IGNORE_ERRORS=
 ifeq ($(LCOV_VERSION),2)
-LCOV_IGNORE_ERRORS=--ignore-errors unused,empty,mismatch,gcov
+LCOV_IGNORE_ERRORS=--ignore-errors unused,empty,mismatch,gcov,negative
 endif
 
 .PHONY: cov-post