blob: 14b814a15232b9bac32a2d7296e4b25ef4201a57 [file] [log] [blame]
{
"$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"
},
"fvm": {
"type": "string"
}
},
"required": [
"llvm_cov",
"llvm_profdata"
]
},
"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)"
},
"ssh_key": {
"type": "string",
"description": "Path to ssh key file to be used for ffx."
}
},
"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"
]
}