[php-src] PR #21623: Ignore zpp in gcovr
| From: | iluuu1994 | Date: | Fri, 03 Apr 2026 13:58:02 +0000 |
| Subject: | [php-src] PR #21623: Ignore zpp in gcovr | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-35498@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/21623
Author: iluuu1994
The ZPP macros materialize into optimized code with many error branches that aren't useful to
test for every function. Ignore these lines completely by using the gcovr --exclude-lines-by-pattern
flag. For codecov to pick up on this change, we generate the xml file manually and point to it in
the codecov action. Also move the ignore paths from codecov.yml to Makefile.gcov.