zephyr/scripts/requirements-build-test.txt
Dmitrii Golovanov 97fab83716 scripts: coverage: gcovr to ignore negative counters
Apply a workaround for an issue introduced with bc8b7dd
for code coverage collection at qemu_x86 when gcov data
was broken because of optimized out memcpy() in write_u64()
static inline function, so gcovr parser fails with
"gcovr.gcov_parser.NegativeHits: Got negative hit value
in gcov line 'branch  1 taken -1'".

Add gcovr command line option to ignore such errors (since v.6.0):
"--gcov-ignore-parse-errors=negative_hits.warn_once_per_file"

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2023-11-03 07:57:10 -04:00

22 lines
363 B
Plaintext

# BUILD-TEST: required to do build tests of zephyr
#
# things used by twister or other things like code coverage or python
# testing
# used by twister for ansi color
colorama
# python lex/yex used by twister
ply>=3.10
# used for code coverage
gcovr>=6.0
coverage
# used for west-command testing
pytest
mypy
# used for mocking functions in pytest
mock>=4.0.1