-
Notifications
You must be signed in to change notification settings - Fork 343
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
check.py for running avocado coverage.py
The avocado was using `selftests/run` script for running coverage tests. This script uses python unittests module instead of avocado, which has few disadvantages. The main is that running the `selftests/run` differs from running `check.py`, therefore the coverage report hasn't represented the actual state. After the latest changes in ea0e23d and 4100cc2 it is possible to run avocado's main selftests entry point `check.py` with the coverage.py. With such change, the running coverage diagnose will use the same process as our selftests, therefore the report will be more precise. Reference: #4992 Signed-off-by: Jan Richter <[email protected]>
- Loading branch information
Showing
3 changed files
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[run] | ||
source = avocado/, optional_plugins/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters