Initial LinuxCNC WebAssembly workspace snapshot
This commit is contained in:
27
coverage/golden-schema.json
Normal file
27
coverage/golden-schema.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "linuxcnc-web-wasm/native-golden.v1",
|
||||
"title": "LinuxCNC Web/WASM native runner golden",
|
||||
"type": "object",
|
||||
"required": ["schema", "context_id", "test_source_id", "expected"],
|
||||
"properties": {
|
||||
"schema": {"const": "native-golden.v1"},
|
||||
"context_id": {"type": "string", "minLength": 1},
|
||||
"test_source_id": {"type": "string", "minLength": 1},
|
||||
"command_sha256": {"type": "string", "pattern": "^[0-9a-f]{64}$"},
|
||||
"expected": {
|
||||
"type": "object",
|
||||
"description": "Exact canonical result fields. Missing golden fields never pass.",
|
||||
"properties": {
|
||||
"status": {"enum": ["passed", "failed", "timeout"]},
|
||||
"exit_code": {"type": "integer"},
|
||||
"stdout_sha256": {"type": "string", "pattern": "^[0-9a-f]{64}$"},
|
||||
"stderr_sha256": {"type": "string", "pattern": "^[0-9a-f]{64}$"},
|
||||
"result_sha256": {"type": "string", "pattern": "^[0-9a-f]{64}$"}
|
||||
},
|
||||
"additionalProperties": true
|
||||
},
|
||||
"tolerances": {"type": "object", "additionalProperties": {"type": "number", "minimum": 0}}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
Reference in New Issue
Block a user