arb_program_interface_query: set vs_input2[1][0] as valid name
[piglit.git] / unittests / framework / backends / schema / piglit-9.json
blob187997e4a7621c1d4ddb219cbf863c4c463b29e6
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         "clinfo": { "type": ["string", "null"] },
9         "glxinfo": { "type": ["string", "null"] },
10         "lspci": { "type": ["string", "null"] },
11         "wglinfo": { "type": ["string", "null"] },
12         "name": { "type": "string" },
13         "results_version": { "type": "number" },
14         "uname": { "type": [ "string", "null" ] },
15         "time_elapsed": { "$ref": "#/definitions/timeAttribute" },
16         "options": {
17             "description": "The options that were invoked with this run. These are implementation specific and not required.",
18             "type": "object",
19             "properties": {
20                 "exclude_tests": { 
21                     "type": "array",
22                     "items": { "type": "string" },
23                     "uniqueItems": true
24                 },
25                 "include_filter": { 
26                     "type": "array",
27                     "items": { "type": "string" }
28                 },
29                 "exclude_filter": { 
30                     "type": "array",
31                     "items": { "type": "string" }
32                 },
33                 "sync": { "type": "boolean" },
34                 "valgrind": { "type": "boolean" },
35                 "monitored": { "type": "boolean" },
36                 "dmesg": { "type": "boolean" },
37                 "execute": { "type": "boolean" },
38                 "concurrent": { "enum": ["none", "all", "some"] },
39                 "platform": { "type": "string" },
40                 "log_level": { "type": "string" },
41                 "env": {
42                     "description": "Environment variables that must be specified",
43                     "type": "object",
44                     "additionalProperties": { "type": "string" }
45                 },
46                 "profile": {
47                     "type": "array",
48                     "items": { "type": "string" }
49                 }
50             }
51         },
52         "totals": {
53             "type": "object",
54             "description": "A calculation of the group totals.",
55             "additionalProperties": {
56                 "type": "object",
57                 "properties": {
58                     "crash": { "type": "number" },
59                     "dmesg-fail": { "type": "number" },
60                     "dmesg-warn": { "type": "number" },
61                     "fail": { "type": "number" },
62                     "incomplete": { "type": "number" },
63                     "notrun": { "type": "number" },
64                     "pass": { "type": "number" },
65                     "skip": { "type": "number" },
66                     "timeout": { "type": "number" },
67                     "warn": { "type": "number" }
68                 },
69                 "additionalProperties": false,
70                 "required": [ "crash", "dmesg-fail", "dmesg-warn", "fail", "incomplete", "notrun", "pass", "skip", "timeout", "warn" ]
71             }
72         },
73         "tests": {
74             "type": "object",
75             "additionalProperties": {
76                 "type": "object",
77                 "properties": {
78                     "__type__": { "type": "string" },
79                     "err": { "type": "string" },
80                     "exception": { "type": ["string", "null"] },
81                     "result": {
82                         "type": "string",
83                         "enum": [ "pass", "fail", "crash", "warn", "incomplete", "notrun", "skip", "dmesg-warn", "dmesg-fail" ]
84                     },
85                     "environment": { "type": "string" },
86                     "command": { "type": "string" },
87                     "traceback": { "type": ["string", "null"] },
88                     "out": { "type": "string" },
89                     "dmesg": { "type": "string" },
90                     "pid": {
91                         "type": "array",
92                         "items": { "type": "number" }
93                     },
94                     "returncode": { "type": [ "number", "null" ] },
95                     "time": { "$ref": "#/definitions/timeAttribute" },
96                     "subtests": {
97                         "type": "object",
98                         "properties": { "__type__": { "type": "string" } },
99                         "additionalProperties": { "type": "string" },
100                         "required": [ "__type__" ]
101                     }
102                 },
103                 "additionalProperties": false
104             }
105         }
106     },
107     "additionalProperties": false,
108     "required": [ "__type__", "clinfo", "glxinfo", "lspci", "wglinfo", "name", "results_version", "uname", "time_elapsed", "tests" ],
109     "definitions": {
110         "timeAttribute": {
111             "type": "object",
112             "description": "An element containing a start and end time",
113             "properties": {
114                 "__type__": { "type": "string" },
115                 "start": { "type": "number" },
116                 "end": { "type": "number" }
117             },
118             "additionalProperties": false,
119             "required": [ "__type__", "start", "end" ]
120         }
121     }