| { | |
| "$schema": "http://json-schema.org/draft-04/schema#", | |
| "type": "object", | |
| "properties": { | |
| "bin": { | |
| "type": "object", | |
| "description": "Path to binaries used for coverage generation and validation.", | |
| "properties": { | |
| "llvm_cov": { | |
| "type": "string" | |
| }, | |
| "llvm_profdata": { | |
| "type": "string" | |
| }, | |
| "llvm_cxxfilt": { | |
| "type": "string" | |
| }, | |
| "ffx": { | |
| "type": "string" | |
| }, | |
| "fvm": { | |
| "type": "string" | |
| }, | |
| "zbi_host_tool": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "llvm_cov", | |
| "llvm_profdata", | |
| "ffx", | |
| "zbi_host_tool" | |
| ] | |
| }, | |
| "test": { | |
| "type": "object", | |
| "description": "Information about the test being executed.", | |
| "properties": { | |
| "path": { | |
| "type": "string" | |
| }, | |
| "name": { | |
| "type": "string" | |
| }, | |
| "zbi_image": { | |
| "type": "string", | |
| "description": "ZBI image name to be booted for this test." | |
| }, | |
| "block_image": { | |
| "type": "string", | |
| "description": "Block image to back a drive.(E.g. FVM, FXFS, etc)" | |
| } | |
| }, | |
| "required": [ | |
| "path", | |
| "name" | |
| ] | |
| }, | |
| "expectations": { | |
| "description": "Describes the expectations to be verified on the generated data.", | |
| "type": "array", | |
| "items": [ | |
| { | |
| "type": "object", | |
| "properties": { | |
| "source": { | |
| "type": "string", | |
| "description": "Path to the source file where to look for function coverage." | |
| }, | |
| "functions": { | |
| "type": "array", | |
| "items": [ | |
| { | |
| "type": "object", | |
| "properties": { | |
| "name": { | |
| "type": "string" | |
| }, | |
| "count": { | |
| "type": "integer" | |
| } | |
| }, | |
| "required": [ | |
| "name", | |
| "count" | |
| ] | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| ], | |
| "required": [ | |
| "source", | |
| "symbols" | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "bin", | |
| "test", | |
| "expectations" | |
| ] | |
| } |