提交 c06e4307 编写于 作者: L Lukáš Doktor

selftests: Add run_coverage

Add simple script to see the "core" and "utils" unittest code coverage.
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
上级 9cf7ea41
#!/bin/bash +x
# Execute all unittests with coverage and report code coverage.
#
# Copyright: Red Hat Inc.
# License: GPLv2
# Author: Lukas Doktor <ldoktor@redhat.com>
coverage erase
coverage run --include "avocado/*" ./selftests/run
echo
coverage report -m --include "avocado/core/*"
echo
coverage report -m --include "avocado/utils/*"
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册