Added coverage report
This commit is contained in:
3
.vscode/settings.json
vendored
Normal file
3
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"coverage-gutters.coverageReportFileName": "coverage/**/lcov.info",
|
||||
}
|
||||
33
.vscode/tasks.json
vendored
33
.vscode/tasks.json
vendored
@@ -33,6 +33,39 @@
|
||||
"showReuseMessage": true,
|
||||
"clear": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "cargo",
|
||||
"label": "cargo: coverage",
|
||||
"command": "llvm-cov",
|
||||
"args": ["--lcov", "--output-path", "coverage/lcov.info"],
|
||||
"presentation": {
|
||||
"echo": true,
|
||||
"reveal": "always",
|
||||
"focus": true,
|
||||
"panel": "dedicated",
|
||||
"showReuseMessage": true,
|
||||
"clear": true
|
||||
},
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"label": "generate coverage report",
|
||||
"command": "lcov-summary",
|
||||
"args": [
|
||||
"coverage/lcov.info"
|
||||
],
|
||||
"presentation": {
|
||||
"echo": true,
|
||||
"reveal": "always",
|
||||
"focus": true,
|
||||
"panel": "dedicated",
|
||||
"showReuseMessage": true,
|
||||
"clear": true
|
||||
},
|
||||
"problemMatcher": [],
|
||||
"dependsOrder": "sequence",
|
||||
"dependsOn": "cargo: coverage"
|
||||
}
|
||||
]
|
||||
}
|
||||
1594
coverage/lcov.info
Normal file
1594
coverage/lcov.info
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user