2 # Copyright © 2016, 2019 Intel Corporation
4 # Permission is hereby granted, free of charge, to any person obtaining a copy
5 # of this software and associated documentation files (the "Software"), to deal
6 # in the Software without restriction, including without limitation the rights
7 # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8 # copies of the Software, and to permit persons to whom the Software is
9 # furnished to do so, subject to the following conditions:
11 # The above copyright notice and this permission notice shall be included in
12 # all copies or substantial portions of the Software.
14 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17 # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22 """Shared data for backend tests."""
24 from framework
.options
import OPTIONS
29 'options': dict(OPTIONS
),
35 # This is current JSON data, in raw form with only the minimum required
36 # changes. This does not contain piglit specific objects, only strings, floats,
37 # ints, and Nones (instead of JSON's null)
39 "results_version": 10,
41 "start": 1469638791.2351687,
42 "__type__": "TimeAttribute",
43 "end": 1469638791.4387212
46 "spec@!opengl 1.0@gl-1.0-readpixsanity": {
49 "err": "piglit: error: waffle_display_connect failed due to "
50 "WAFFLE_ERROR_UNKNOWN: open drm file for gbm failed\n",
52 "__type__": "Subtests"
56 "command": "/home/user/source/piglit/bin/gl-1.0-readpixsanity "
59 "start": 1469638791.2383287,
60 "__type__": "TimeAttribute",
61 "end": 1469638791.2439244
65 "image_desc": "gl-1.0-readpixsanity images",
66 "image_ref": "/home/user/source/gl-1.0-readpixsanity-results/ref.png",
67 "image_render": "/home/user/source/gl-1.0-readpixsanity-results/render.png"
71 "__type__": "TestResult",
74 "environment": ("PIGLIT_SOURCE_DIR=\"/home/user/source/piglit\" "
75 " PIGLIT_PLATFORM=\"gbm\"")
90 "PIGLIT_SOURCE_DIR": "/home/user/source/piglit",
91 "PIGLIT_PLATFORM": "gbm"
99 "__type__": "TestrunResult",
102 "lspci": "00:00.0 Host bridge...",
107 '__type__': 'Totals',
120 '__type__': 'Totals',
132 "spec@!opengl 1.0": {
133 '__type__': 'Totals',
146 '__type__': 'Totals',