perf/pixel-rate: new pixel throughput microbenchmark
[piglit.git] / unittests / framework / backends / schema / piglit-10.json
blobdd33d579281d177179f88273e1a44adb067f510e
2     "$schema": "http://json-schema.org/draft-04/schema#",
3     "title": "TestrunResult",
4     "description": "The collection of all results",
5     "type": "object",
6     "properties": {
7         "__type__": { "type": "string" },
8         "name": { "type": "string" },
9         "results_version": { "type": "number" },
10         "time_elapsed": { "$ref": "#/definitions/timeAttribute" },
11         "info": {
12             "type": "object",
13             "description": "Relevant information about the system running tests.",
14             "additionalProperties": { 
15                 "type": "object",
16                 "additionalProperties": { "type": "string" }
17             }
18         },
19         "options": {
20             "description": "The options that were invoked with this run. These are implementation specific and not required.",
21             "type": "object",
22             "properties": {
23                 "exclude_tests": { 
24                     "type": "array",
25                     "items": { "type": "string" },
26                     "uniqueItems": true
27                 },
28                 "include_filter": { 
29                     "type": "array",
30                     "items": { "type": "string" }
31                 },
32                 "exclude_filter": { 
33                     "type": "array",
34                     "items": { "type": "string" }
35                 },
36                 "sync": { "type": "boolean" },
37                 "valgrind": { "type": "boolean" },
38                 "monitored": { "type": "boolean" },
39                 "dmesg": { "type": "boolean" },
40                 "execute": { "type": "boolean" },
41                 "concurrent": { "enum": ["none", "all", "some"] },
42                 "platform": { "type": "string" },
43                 "log_level": { "type": "string" },
44                 "env": {
45                     "description": "Environment variables that must be specified",
46                     "type": "object",
47                     "additionalProperties": { "type": "string" }
48                 },
49                 "profile": {
50                     "type": "array",
51                     "items": { "type": "string" }
52                 }
53             }
54         },
55         "totals": {
56             "type": "object",
57             "description": "A calculation of the group totals.",
58             "additionalProperties": {
59                 "type": "object",
60                 "properties": {
61                     "crash": { "type": "number" },
62                     "dmesg-fail": { "type": "number" },
63                     "dmesg-warn": { "type": "number" },
64                     "fail": { "type": "number" },
65                     "incomplete": { "type": "number" },
66                     "notrun": { "type": "number" },
67                     "pass": { "type": "number" },
68                     "skip": { "type": "number" },
69                     "timeout": { "type": "number" },
70                     "warn": { "type": "number" }
71                 },
72                 "additionalProperties": false,
73                 "required": [ "crash", "dmesg-fail", "dmesg-warn", "fail", "incomplete", "notrun", "pass", "skip", "timeout", "warn" ]
74             }
75         },
76         "tests": {
77             "type": "object",
78             "additionalProperties": {
79                 "type": "object",
80                 "properties": {
81                     "__type__": { "type": "string" },
82                     "err": { "type": "string" },
83                     "exception": { "type": ["string", "null"] },
84                     "result": {
85                         "type": "string",
86                         "enum": [ "pass", "fail", "crash", "warn", "incomplete", "notrun", "skip", "dmesg-warn", "dmesg-fail" ]
87                     },
88                     "environment": { "type": "string" },
89                     "command": { "type": "string" },
90                     "traceback": { "type": ["string", "null"] },
91                     "out": { "type": "string" },
92                     "dmesg": { "type": "string" },
93                     "images": {
94                         "type": ["array", "null"],
95                         "items": {
96                             "type": "object",
97                             "properties": {
98                                 "image_desc": { "type": "string" },
99                                 "image_ref": { "type": "string" },
100                                 "image_render": { "type": "string" }
101                             }
102                         }
103                     },
104                     "pid": {
105                         "type": "array",
106                         "items": { "type": "number" }
107                     },
108                     "returncode": { "type": [ "number", "null" ] },
109                     "time": { "$ref": "#/definitions/timeAttribute" },
110                     "subtests": {
111                         "type": "object",
112                         "properties": { "__type__": { "type": "string" } },
113                         "additionalProperties": { "type": "string" },
114                         "required": [ "__type__" ]
115                     }
116                 },
117                 "additionalProperties": false
118             }
119         }
120     },
121     "additionalProperties": false,
122     "required": [ "__type__", "name", "results_version", "time_elapsed", "tests", "info" ],
123     "definitions": {
124         "timeAttribute": {
125             "type": "object",
126             "description": "An element containing a start and end time",
127             "properties": {
128                 "__type__": { "type": "string" },
129                 "start": { "type": "number" },
130                 "end": { "type": "number" }
131             },
132             "additionalProperties": false,
133             "required": [ "__type__", "start", "end" ]
134         }
135     }