Skip to content

Commit

Permalink
Merge remote-tracking branch 'richtja/coverage_multiprocessing_fix'
Browse files Browse the repository at this point in the history
Signed-off-by: Cleber Rosa <[email protected]>
  • Loading branch information
clebergnu committed Nov 28, 2024
2 parents 5b65f4f + cee5223 commit 9bc4760
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[run]
source = avocado/, optional_plugins/
concurrency = multiprocessing
parallel = true
4 changes: 3 additions & 1 deletion selftests/run_coverage
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ echo "Using coverage utility: $COVERAGE"

$COVERAGE erase
rm -f .coverage.*
$COVERAGE run selftests/check.py --skip=static-checks
echo -e "import coverage\ncoverage.process_startup()" >> sitecustomize.py
env COVERAGE_PROCESS_START=.coveragerc $COVERAGE run selftests/check.py --skip=static-checks
rm -f sitecustomize.py
$COVERAGE combine
echo
$COVERAGE report -m --include "avocado/core/*"
Expand Down

0 comments on commit 9bc4760

Please sign in to comment.