1e5c31af7Sopenharmony_ci# -*- coding: utf-8 -*-
2e5c31af7Sopenharmony_ci
3e5c31af7Sopenharmony_ci#-------------------------------------------------------------------------
4e5c31af7Sopenharmony_ci#
5e5c31af7Sopenharmony_ci# Copyright 2015 The Android Open Source Project
6e5c31af7Sopenharmony_ci# Copyright (C) 2016 The Khronos Group Inc
7e5c31af7Sopenharmony_ci#
8e5c31af7Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
9e5c31af7Sopenharmony_ci# you may not use this file except in compliance with the License.
10e5c31af7Sopenharmony_ci# You may obtain a copy of the License at
11e5c31af7Sopenharmony_ci#
12e5c31af7Sopenharmony_ci#      http://www.apache.org/licenses/LICENSE-2.0
13e5c31af7Sopenharmony_ci#
14e5c31af7Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
15e5c31af7Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
16e5c31af7Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17e5c31af7Sopenharmony_ci# See the License for the specific language governing permissions and
18e5c31af7Sopenharmony_ci# limitations under the License.
19e5c31af7Sopenharmony_ci#
20e5c31af7Sopenharmony_ci#-------------------------------------------------------------------------
21e5c31af7Sopenharmony_ci
22e5c31af7Sopenharmony_ciimport os
23e5c31af7Sopenharmony_ciimport sys
24e5c31af7Sopenharmony_ci
25e5c31af7Sopenharmony_cifrom collections import OrderedDict
26e5c31af7Sopenharmony_ci
27e5c31af7Sopenharmony_cifrom mustpass import Project, Package, Mustpass, Configuration, include, exclude, genMustpassLists
28e5c31af7Sopenharmony_cifrom build_caselists import Module, getModuleByName, DEFAULT_BUILD_DIR, DEFAULT_TARGET
29e5c31af7Sopenharmony_ci
30e5c31af7Sopenharmony_ciscriptPath = os.path.join(os.path.dirname(__file__), "..", "..", "..", "scripts")
31e5c31af7Sopenharmony_cisys.path.insert(0, scriptPath)
32e5c31af7Sopenharmony_ci
33e5c31af7Sopenharmony_cifrom ctsbuild.common import DEQP_DIR
34e5c31af7Sopenharmony_cifrom ctsbuild.config import ANY_GENERATOR, BuildConfig
35e5c31af7Sopenharmony_ci
36e5c31af7Sopenharmony_ci
37e5c31af7Sopenharmony_ciCOPYRIGHT_DECLARATION = """\
38e5c31af7Sopenharmony_ci/*     Copyright (C) 2016-2017 The Khronos Group Inc
39e5c31af7Sopenharmony_ci *
40e5c31af7Sopenharmony_ci *     Licensed under the Apache License, Version 2.0 (the "License");
41e5c31af7Sopenharmony_ci *     you may not use this file except in compliance with the License.
42e5c31af7Sopenharmony_ci *     You may obtain a copy of the License at
43e5c31af7Sopenharmony_ci *
44e5c31af7Sopenharmony_ci *          http://www.apache.org/licenses/LICENSE-2.0
45e5c31af7Sopenharmony_ci *
46e5c31af7Sopenharmony_ci *     Unless required by applicable law or agreed to in writing, software
47e5c31af7Sopenharmony_ci *     distributed under the License is distributed on an "AS IS" BASIS,
48e5c31af7Sopenharmony_ci *     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
49e5c31af7Sopenharmony_ci *     See the License for the specific language governing permissions and
50e5c31af7Sopenharmony_ci *     limitations under the License.
51e5c31af7Sopenharmony_ci*/"""
52e5c31af7Sopenharmony_ci
53e5c31af7Sopenharmony_cibuildPath						= DEFAULT_BUILD_DIR.format(targetName = DEFAULT_TARGET, buildType = "Release")
54e5c31af7Sopenharmony_ci
55e5c31af7Sopenharmony_ci#-------------------------------------------------- ES MUSTPASS----------------------------------------------------------------------
56e5c31af7Sopenharmony_ci
57e5c31af7Sopenharmony_ciCTS_AOSP_MP_DATA_DIR			= os.path.join(DEQP_DIR, "external", "openglcts", "data", "mustpass", "gles", "aosp_mustpass")
58e5c31af7Sopenharmony_ci
59e5c31af7Sopenharmony_ciCTS_AOSP_MP_DEVICE_DIR			= "gl_cts/data/mustpass/gles/aosp_mustpass"
60e5c31af7Sopenharmony_ci
61e5c31af7Sopenharmony_ciCTS_MP_INC_DIR					= os.path.join(DEQP_DIR, "external", "openglcts", "modules", "runner")
62e5c31af7Sopenharmony_ci
63e5c31af7Sopenharmony_ciCTS_AOSP_MP_ES_PROJECT			= Project(name = "AOSP Mustpass ES", path = CTS_AOSP_MP_DATA_DIR, incpath = CTS_MP_INC_DIR, devicepath = CTS_AOSP_MP_DEVICE_DIR, copyright = COPYRIGHT_DECLARATION)
64e5c31af7Sopenharmony_ci
65e5c31af7Sopenharmony_ciCTS_KHR_MP_DATA_DIR				= os.path.join(DEQP_DIR, "external", "openglcts", "data", "mustpass", "gles", "khronos_mustpass")
66e5c31af7Sopenharmony_ci
67e5c31af7Sopenharmony_ciCTS_KHR_MP_DEVICE_DIR			= "gl_cts/data/mustpass/gles/khronos_mustpass"
68e5c31af7Sopenharmony_ci
69e5c31af7Sopenharmony_ciCTS_KHR_MP_ES_PROJECT			= Project(name = "Khronos Mustpass ES", path = CTS_KHR_MP_DATA_DIR, incpath = CTS_MP_INC_DIR, devicepath = CTS_KHR_MP_DEVICE_DIR, copyright = COPYRIGHT_DECLARATION)
70e5c31af7Sopenharmony_ci
71e5c31af7Sopenharmony_ciCTS_AOSP_MP_EGL_DEVICE_DIR		= "gl_cts/data/mustpass/egl/aosp_mustpass"
72e5c31af7Sopenharmony_ci
73e5c31af7Sopenharmony_ciCTS_AOSP_MP_EGL_DATA_DIR		= os.path.join(DEQP_DIR, "external", "openglcts", "data", "mustpass", "egl", "aosp_mustpass")
74e5c31af7Sopenharmony_ci
75e5c31af7Sopenharmony_ciCTS_AOSP_MP_EGL_PROJECT			= Project(name = "AOSP Mustpass EGL", path = CTS_AOSP_MP_EGL_DATA_DIR, incpath = CTS_MP_INC_DIR, devicepath = CTS_AOSP_MP_EGL_DEVICE_DIR, copyright = COPYRIGHT_DECLARATION)
76e5c31af7Sopenharmony_ci
77e5c31af7Sopenharmony_ciCTS_KHR_MP_NOCTX_DATA_DIR		= os.path.join(DEQP_DIR, "external", "openglcts", "data", "mustpass", "gles", "khronos_mustpass_noctx")
78e5c31af7Sopenharmony_ci
79e5c31af7Sopenharmony_ciCTS_KHR_MP_NOCTX_DEVICE_DIR		= "gl_cts/data/mustpass/gles/khronos_mustpass_noctx"
80e5c31af7Sopenharmony_ci
81e5c31af7Sopenharmony_ciCTS_KHR_MP_NOCTX_ES_PROJECT		= Project(name = "Khronos Mustpass ES NoContext", path = CTS_KHR_MP_NOCTX_DATA_DIR, incpath = CTS_MP_INC_DIR, devicepath = CTS_KHR_MP_NOCTX_DEVICE_DIR, copyright = COPYRIGHT_DECLARATION)
82e5c31af7Sopenharmony_ci
83e5c31af7Sopenharmony_ciCTS_KHR_MP_SINGLE_DATA_DIR		= os.path.join(DEQP_DIR, "external", "openglcts", "data", "mustpass", "gles", "khronos_mustpass_single")
84e5c31af7Sopenharmony_ci
85e5c31af7Sopenharmony_ciCTS_KHR_MP_SINGLE_DEVICE_DIR	= "gl_cts/data/mustpass/gles/khronos_mustpass_single"
86e5c31af7Sopenharmony_ci
87e5c31af7Sopenharmony_ciCTS_KHR_MP_SINGLE_ES_PROJECT		= Project(name = "Khronos Mustpass ES Single Config", path = CTS_KHR_MP_SINGLE_DATA_DIR, incpath = CTS_MP_INC_DIR, devicepath = CTS_KHR_MP_SINGLE_DEVICE_DIR, copyright = COPYRIGHT_DECLARATION)
88e5c31af7Sopenharmony_ci
89e5c31af7Sopenharmony_ciEGL_MODULE						= getModuleByName("dEQP-EGL")
90e5c31af7Sopenharmony_ciES2CTS_MODULE					= getModuleByName("dEQP-GLES2")
91e5c31af7Sopenharmony_ciES3CTS_MODULE					= getModuleByName("dEQP-GLES3")
92e5c31af7Sopenharmony_ciES31CTS_MODULE					= getModuleByName("dEQP-GLES31")
93e5c31af7Sopenharmony_ciGL45ES3_MODULE					= getModuleByName("dEQP-GL45-ES3")
94e5c31af7Sopenharmony_ciGL45ES31_MODULE					= getModuleByName("dEQP-GL45-ES31")
95e5c31af7Sopenharmony_ci
96e5c31af7Sopenharmony_ciES2KHR_MODULE					= getModuleByName("KHR-GLES2")
97e5c31af7Sopenharmony_ciES3KHR_MODULE					= getModuleByName("KHR-GLES3")
98e5c31af7Sopenharmony_ciES31KHR_MODULE					= getModuleByName("KHR-GLES31")
99e5c31af7Sopenharmony_ciES32KHR_MODULE					= getModuleByName("KHR-GLES32")
100e5c31af7Sopenharmony_ciNOCTX_ES2_KHR_MODULE			= getModuleByName("KHR-NOCTX-ES2")
101e5c31af7Sopenharmony_ciNOCTX_ES32_KHR_MODULE			= getModuleByName("KHR-NOCTX-ES32")
102e5c31af7Sopenharmony_ciSINGLE_ES32_KHR_MODULE			= getModuleByName("KHR-Single-GLES32")
103e5c31af7Sopenharmony_ci
104e5c31af7Sopenharmony_ciES2GTF_MODULE					= getModuleByName("GTF-GLES2")
105e5c31af7Sopenharmony_ciES3GTF_MODULE					= getModuleByName("GTF-GLES3")
106e5c31af7Sopenharmony_ciES31GTF_MODULE					= getModuleByName("GTF-GLES31")
107e5c31af7Sopenharmony_ci
108e5c31af7Sopenharmony_ciGLCTS_GLES2_PKG						= Package(module = ES2CTS_MODULE, configurations = [
109e5c31af7Sopenharmony_ci		# Master
110e5c31af7Sopenharmony_ci		Configuration(name			= "master",
111e5c31af7Sopenharmony_ci					glconfig		= "rgba8888d24s8ms0",
112e5c31af7Sopenharmony_ci					rotation		= "unspecified",
113e5c31af7Sopenharmony_ci					surfacewidth	= "256",
114e5c31af7Sopenharmony_ci					surfaceheight	= "256",
115e5c31af7Sopenharmony_ci					filters			= [include("gles2-master.txt")]),
116e5c31af7Sopenharmony_ci	])
117e5c31af7Sopenharmony_ciGLCTS_3_2_2_GLES3_PKG					= Package(module = ES3CTS_MODULE, configurations = [
118e5c31af7Sopenharmony_ci		# Master
119e5c31af7Sopenharmony_ci		Configuration(name			= "master",
120e5c31af7Sopenharmony_ci					glconfig		= "rgba8888d24s8ms0",
121e5c31af7Sopenharmony_ci					rotation		= "unspecified",
122e5c31af7Sopenharmony_ci					surfacewidth	= "256",
123e5c31af7Sopenharmony_ci					surfaceheight	= "256",
124e5c31af7Sopenharmony_ci					filters			= [include("gles3-master.txt")]),
125e5c31af7Sopenharmony_ci
126e5c31af7Sopenharmony_ci		# Rotations
127e5c31af7Sopenharmony_ci		Configuration(name			= "rotate-portrait",
128e5c31af7Sopenharmony_ci					glconfig		= "rgba8888d24s8ms0",
129e5c31af7Sopenharmony_ci					rotation		= "0",
130e5c31af7Sopenharmony_ci					surfacewidth	= "256",
131e5c31af7Sopenharmony_ci					surfaceheight	= "256",
132e5c31af7Sopenharmony_ci					os				= "android",
133e5c31af7Sopenharmony_ci					filters			= [include("gles3-master.txt"), include("gles3-rotation.txt")]),
134e5c31af7Sopenharmony_ci		Configuration(name			= "rotate-landscape",
135e5c31af7Sopenharmony_ci					glconfig		= "rgba8888d24s8ms0",
136e5c31af7Sopenharmony_ci					rotation		= "90",
137e5c31af7Sopenharmony_ci					surfacewidth	= "256",
138e5c31af7Sopenharmony_ci					surfaceheight	= "256",
139e5c31af7Sopenharmony_ci					os				= "android",
140e5c31af7Sopenharmony_ci					filters			= [include("gles3-master.txt"), include("gles3-rotation.txt")]),
141e5c31af7Sopenharmony_ci		Configuration(name			= "rotate-reverse-portrait",
142e5c31af7Sopenharmony_ci					glconfig		= "rgba8888d24s8ms0",
143e5c31af7Sopenharmony_ci					rotation		= "180",
144e5c31af7Sopenharmony_ci					surfacewidth	= "256",
145e5c31af7Sopenharmony_ci					surfaceheight	= "256",
146e5c31af7Sopenharmony_ci					os				= "android",
147e5c31af7Sopenharmony_ci					filters			= [include("gles3-master.txt"), include("gles3-rotation.txt")]),
148e5c31af7Sopenharmony_ci		Configuration(name			= "rotate-reverse-landscape",
149e5c31af7Sopenharmony_ci					glconfig		= "rgba8888d24s8ms0",
150e5c31af7Sopenharmony_ci					rotation		= "270",
151e5c31af7Sopenharmony_ci					surfacewidth	= "256",
152e5c31af7Sopenharmony_ci					surfaceheight	= "256",
153e5c31af7Sopenharmony_ci					os				= "android",
154e5c31af7Sopenharmony_ci					filters		= [include("gles3-master.txt"), include("gles3-rotation.txt")]),
155e5c31af7Sopenharmony_ci
156e5c31af7Sopenharmony_ci		# MSAA
157e5c31af7Sopenharmony_ci		Configuration(name			= "multisample",
158e5c31af7Sopenharmony_ci					glconfig		= "rgba8888d24s8ms4",
159e5c31af7Sopenharmony_ci					rotation		= "unspecified",
160e5c31af7Sopenharmony_ci					surfacewidth	= "256",
161e5c31af7Sopenharmony_ci					surfaceheight	= "256",
162e5c31af7Sopenharmony_ci					filters			= [include("gles3-master.txt"),
163e5c31af7Sopenharmony_ci									   include("gles3-multisample.txt"),
164e5c31af7Sopenharmony_ci									   exclude("gles3-multisample-issues.txt")]),
165e5c31af7Sopenharmony_ci
166e5c31af7Sopenharmony_ci		# Pixel format
167e5c31af7Sopenharmony_ci		Configuration(name			= "565-no-depth-no-stencil",
168e5c31af7Sopenharmony_ci					glconfig		= "rgb565d0s0ms0",
169e5c31af7Sopenharmony_ci					rotation		= "unspecified",
170e5c31af7Sopenharmony_ci					surfacewidth	= "256",
171e5c31af7Sopenharmony_ci					surfaceheight	= "256",
172e5c31af7Sopenharmony_ci					os				= "android",
173e5c31af7Sopenharmony_ci					filters			= [include("gles3-master.txt"),
174e5c31af7Sopenharmony_ci									   include("gles3-pixelformat.txt"),
175e5c31af7Sopenharmony_ci									   exclude("gles3-pixelformat-issues.txt")]),
176e5c31af7Sopenharmony_ci	])
177e5c31af7Sopenharmony_ciGLCTS_3_2_2_GLES31_PKG					= Package(module = ES31CTS_MODULE, configurations = [
178e5c31af7Sopenharmony_ci		# Master
179e5c31af7Sopenharmony_ci		Configuration(name			= "master",
180e5c31af7Sopenharmony_ci					glconfig		= "rgba8888d24s8ms0",
181e5c31af7Sopenharmony_ci					rotation		= "unspecified",
182e5c31af7Sopenharmony_ci					surfacewidth	= "256",
183e5c31af7Sopenharmony_ci					surfaceheight	= "256",
184e5c31af7Sopenharmony_ci					filters			= [include("gles31-master.txt")]),
185e5c31af7Sopenharmony_ci		# Rotations
186e5c31af7Sopenharmony_ci		Configuration(name			= "rotate-portrait",
187e5c31af7Sopenharmony_ci					glconfig		= "rgba8888d24s8ms0",
188e5c31af7Sopenharmony_ci					rotation		= "0",
189e5c31af7Sopenharmony_ci					surfacewidth	= "256",
190e5c31af7Sopenharmony_ci					surfaceheight	= "256",
191e5c31af7Sopenharmony_ci					os				= "android",
192e5c31af7Sopenharmony_ci					filters			= [include("gles31-master.txt"), include("gles31-rotation.txt")]),
193e5c31af7Sopenharmony_ci		Configuration(name			= "rotate-landscape",
194e5c31af7Sopenharmony_ci					glconfig		= "rgba8888d24s8ms0",
195e5c31af7Sopenharmony_ci					rotation		= "90",
196e5c31af7Sopenharmony_ci					surfacewidth	= "256",
197e5c31af7Sopenharmony_ci					surfaceheight	= "256",
198e5c31af7Sopenharmony_ci					os				= "android",
199e5c31af7Sopenharmony_ci					filters			= [include("gles31-master.txt"), include("gles31-rotation.txt")]),
200e5c31af7Sopenharmony_ci		Configuration(name			= "rotate-reverse-portrait",
201e5c31af7Sopenharmony_ci					glconfig		= "rgba8888d24s8ms0",
202e5c31af7Sopenharmony_ci					rotation		= "180",
203e5c31af7Sopenharmony_ci					surfacewidth	= "256",
204e5c31af7Sopenharmony_ci					surfaceheight	= "256",
205e5c31af7Sopenharmony_ci					os				= "android",
206e5c31af7Sopenharmony_ci					filters			= [include("gles31-master.txt"), include("gles31-rotation.txt")]),
207e5c31af7Sopenharmony_ci		Configuration(name			= "rotate-reverse-landscape",
208e5c31af7Sopenharmony_ci					glconfig		= "rgba8888d24s8ms0",
209e5c31af7Sopenharmony_ci					rotation		= "270",
210e5c31af7Sopenharmony_ci					surfacewidth	= "256",
211e5c31af7Sopenharmony_ci					surfaceheight	= "256",
212e5c31af7Sopenharmony_ci					os				= "android",
213e5c31af7Sopenharmony_ci					filters			= [include("gles31-master.txt"), include("gles31-rotation.txt")]),
214e5c31af7Sopenharmony_ci
215e5c31af7Sopenharmony_ci		# MSAA
216e5c31af7Sopenharmony_ci		Configuration(name			= "multisample",
217e5c31af7Sopenharmony_ci					glconfig		= "rgba8888d24s8ms4",
218e5c31af7Sopenharmony_ci					rotation		= "unspecified",
219e5c31af7Sopenharmony_ci					surfacewidth	= "256",
220e5c31af7Sopenharmony_ci					surfaceheight	= "256",
221e5c31af7Sopenharmony_ci					filters			= [include("gles31-master.txt"), include("gles31-multisample.txt")]),
222e5c31af7Sopenharmony_ci
223e5c31af7Sopenharmony_ci		# Pixel format
224e5c31af7Sopenharmony_ci		Configuration(name			= "565-no-depth-no-stencil",
225e5c31af7Sopenharmony_ci					glconfig		= "rgb565d0s0ms0",
226e5c31af7Sopenharmony_ci					rotation		= "unspecified",
227e5c31af7Sopenharmony_ci					surfacewidth	= "256",
228e5c31af7Sopenharmony_ci					surfaceheight	= "256",
229e5c31af7Sopenharmony_ci					os				= "android",
230e5c31af7Sopenharmony_ci					filters			= [include("gles31-master.txt"), include("gles31-pixelformat.txt")]),
231e5c31af7Sopenharmony_ci	])
232e5c31af7Sopenharmony_ci
233e5c31af7Sopenharmony_ci# 3.2.3.x
234e5c31af7Sopenharmony_ciGLCTS_3_2_3_EGL_COMMON_FILTERS			= [include("egl-master.txt"),
235e5c31af7Sopenharmony_ci		exclude("egl-test-issues.txt"),
236e5c31af7Sopenharmony_ci		exclude("egl-internal-api-tests.txt"),
237e5c31af7Sopenharmony_ci		exclude("egl-driver-issues.txt")
238e5c31af7Sopenharmony_ci	]
239e5c31af7Sopenharmony_ciGLCTS_3_2_3_EGL_PKG						= Package(module = EGL_MODULE, configurations = [
240e5c31af7Sopenharmony_ci		# Master
241e5c31af7Sopenharmony_ci		Configuration(name			= "master",
242e5c31af7Sopenharmony_ci					glconfig		= "rgba8888d24s8ms0",
243e5c31af7Sopenharmony_ci					rotation		= "unspecified",
244e5c31af7Sopenharmony_ci					surfacewidth    = "256",
245e5c31af7Sopenharmony_ci                    surfaceheight   = "256",
246e5c31af7Sopenharmony_ci					filters			= GLCTS_3_2_3_EGL_COMMON_FILTERS),
247e5c31af7Sopenharmony_ci	])
248e5c31af7Sopenharmony_ci
249e5c31af7Sopenharmony_ciGLCTS_3_2_3_GLES2_COMMON_FILTERS	= [
250e5c31af7Sopenharmony_ci		include("gles2-master.txt"),
251e5c31af7Sopenharmony_ci		exclude("gles2-test-issues.txt"),
252e5c31af7Sopenharmony_ci		exclude("gles2-spec-issues.txt"),
253e5c31af7Sopenharmony_ci		exclude("gles2-driver-issues.txt"),
254e5c31af7Sopenharmony_ci		exclude("gles2-hw-issues.txt")
255e5c31af7Sopenharmony_ci	]
256e5c31af7Sopenharmony_ciGLCTS_3_2_3_GLES2_PKG         = Package(module = ES2CTS_MODULE, configurations = [
257e5c31af7Sopenharmony_ci        # Master
258e5c31af7Sopenharmony_ci        Configuration(name          = "master",
259e5c31af7Sopenharmony_ci                    glconfig        = "rgba8888d24s8ms0",
260e5c31af7Sopenharmony_ci                    rotation        = "unspecified",
261e5c31af7Sopenharmony_ci                    surfacewidth    = "256",
262e5c31af7Sopenharmony_ci                    surfaceheight   = "256",
263e5c31af7Sopenharmony_ci                    filters         = GLCTS_3_2_3_GLES2_COMMON_FILTERS),
264e5c31af7Sopenharmony_ci    ])
265e5c31af7Sopenharmony_ci
266e5c31af7Sopenharmony_ciGLCTS_3_2_3_GLES3_COMMON_FILTERS		= [
267e5c31af7Sopenharmony_ci		include("gles3-master.txt"),
268e5c31af7Sopenharmony_ci		exclude("gles3-test-issues.txt"),
269e5c31af7Sopenharmony_ci		exclude("gles3-spec-issues.txt"),
270e5c31af7Sopenharmony_ci		exclude("gles3-driver-issues.txt"),
271e5c31af7Sopenharmony_ci	]
272e5c31af7Sopenharmony_ci
273e5c31af7Sopenharmony_ciGLCTS_3_2_3_GLES3_PKG				= Package(module = ES3CTS_MODULE, configurations = [
274e5c31af7Sopenharmony_ci		# Master
275e5c31af7Sopenharmony_ci		Configuration(name			= "master",
276e5c31af7Sopenharmony_ci					glconfig	= "rgba8888d24s8ms0",
277e5c31af7Sopenharmony_ci					rotation	= "unspecified",
278e5c31af7Sopenharmony_ci					surfacewidth    = "256",
279e5c31af7Sopenharmony_ci					surfaceheight   = "256",
280e5c31af7Sopenharmony_ci					filters		= GLCTS_3_2_3_GLES3_COMMON_FILTERS + [exclude("gles3-hw-issues.txt")]),
281e5c31af7Sopenharmony_ci		# Rotations
282e5c31af7Sopenharmony_ci		Configuration(name			= "rotate-portrait",
283e5c31af7Sopenharmony_ci					glconfig	= "rgba8888d24s8ms0",
284e5c31af7Sopenharmony_ci					rotation	= "0",
285e5c31af7Sopenharmony_ci					surfacewidth	= "256",
286e5c31af7Sopenharmony_ci					surfaceheight	= "256",
287e5c31af7Sopenharmony_ci					os				= "android",
288e5c31af7Sopenharmony_ci					filters		= GLCTS_3_2_3_GLES3_COMMON_FILTERS + [include("gles3-rotation.txt")]),
289e5c31af7Sopenharmony_ci		Configuration(name			= "rotate-landscape",
290e5c31af7Sopenharmony_ci					glconfig	= "rgba8888d24s8ms0",
291e5c31af7Sopenharmony_ci					rotation	= "90",
292e5c31af7Sopenharmony_ci					surfacewidth	= "256",
293e5c31af7Sopenharmony_ci					surfaceheight	= "256",
294e5c31af7Sopenharmony_ci					os				= "android",
295e5c31af7Sopenharmony_ci					filters		= GLCTS_3_2_3_GLES3_COMMON_FILTERS + [include("gles3-rotation.txt")]),
296e5c31af7Sopenharmony_ci		Configuration(name			= "rotate-reverse-portrait",
297e5c31af7Sopenharmony_ci					glconfig	= "rgba8888d24s8ms0",
298e5c31af7Sopenharmony_ci					rotation	= "180",
299e5c31af7Sopenharmony_ci					surfacewidth	= "256",
300e5c31af7Sopenharmony_ci					surfaceheight	= "256",
301e5c31af7Sopenharmony_ci					os				= "android",
302e5c31af7Sopenharmony_ci					filters		= GLCTS_3_2_3_GLES3_COMMON_FILTERS + [include("gles3-rotation.txt")]),
303e5c31af7Sopenharmony_ci		Configuration(name			= "rotate-reverse-landscape",
304e5c31af7Sopenharmony_ci					glconfig	= "rgba8888d24s8ms0",
305e5c31af7Sopenharmony_ci					rotation	= "270",
306e5c31af7Sopenharmony_ci					surfacewidth	= "256",
307e5c31af7Sopenharmony_ci					surfaceheight	= "256",
308e5c31af7Sopenharmony_ci					os				= "android",
309e5c31af7Sopenharmony_ci					filters		= GLCTS_3_2_3_GLES3_COMMON_FILTERS + [include("gles3-rotation.txt")]),
310e5c31af7Sopenharmony_ci
311e5c31af7Sopenharmony_ci		# MSAA
312e5c31af7Sopenharmony_ci		Configuration(name			= "multisample",
313e5c31af7Sopenharmony_ci					glconfig	= "rgba8888d24s8ms4",
314e5c31af7Sopenharmony_ci					rotation	= "unspecified",
315e5c31af7Sopenharmony_ci					surfacewidth	= "256",
316e5c31af7Sopenharmony_ci					surfaceheight	= "256",
317e5c31af7Sopenharmony_ci					filters		= GLCTS_3_2_3_GLES3_COMMON_FILTERS + [include("gles3-multisample.txt"), exclude("gles3-multisample-hw-issues.txt")]),
318e5c31af7Sopenharmony_ci
319e5c31af7Sopenharmony_ci		# Pixel format
320e5c31af7Sopenharmony_ci		Configuration(name			= "565-no-depth-no-stencil",
321e5c31af7Sopenharmony_ci					glconfig	= "rgb565d0s0ms0",
322e5c31af7Sopenharmony_ci					rotation	= "unspecified",
323e5c31af7Sopenharmony_ci					surfacewidth	= "256",
324e5c31af7Sopenharmony_ci					surfaceheight	= "256",
325e5c31af7Sopenharmony_ci					os				= "android",
326e5c31af7Sopenharmony_ci					filters		= GLCTS_3_2_3_GLES3_COMMON_FILTERS + [include("gles3-pixelformat.txt")]),
327e5c31af7Sopenharmony_ci
328e5c31af7Sopenharmony_ci	])
329e5c31af7Sopenharmony_ci
330e5c31af7Sopenharmony_ciGLCTS_3_2_3_GLES31_COMMON_FILTERS	= [
331e5c31af7Sopenharmony_ci		include("gles31-master.txt"),
332e5c31af7Sopenharmony_ci		exclude("gles31-test-issues.txt"),
333e5c31af7Sopenharmony_ci		exclude("gles31-spec-issues.txt"),
334e5c31af7Sopenharmony_ci		exclude("gles31-driver-issues.txt"),
335e5c31af7Sopenharmony_ci		exclude("gles31-hw-issues.txt")
336e5c31af7Sopenharmony_ci	]
337e5c31af7Sopenharmony_ci
338e5c31af7Sopenharmony_ciGLCTS_3_2_3_GLES31_PKG				= Package(module = ES31CTS_MODULE, configurations = [
339e5c31af7Sopenharmony_ci		# Master
340e5c31af7Sopenharmony_ci		Configuration(name			= "master",
341e5c31af7Sopenharmony_ci					glconfig	= "rgba8888d24s8ms0",
342e5c31af7Sopenharmony_ci					rotation	= "unspecified",
343e5c31af7Sopenharmony_ci					surfacewidth	= "256",
344e5c31af7Sopenharmony_ci					surfaceheight	= "256",
345e5c31af7Sopenharmony_ci					filters		= GLCTS_3_2_3_GLES31_COMMON_FILTERS),
346e5c31af7Sopenharmony_ci
347e5c31af7Sopenharmony_ci		# Rotations
348e5c31af7Sopenharmony_ci		Configuration(name			= "rotate-portrait",
349e5c31af7Sopenharmony_ci					glconfig	= "rgba8888d24s8ms0",
350e5c31af7Sopenharmony_ci					rotation	= "0",
351e5c31af7Sopenharmony_ci					surfacewidth	= "256",
352e5c31af7Sopenharmony_ci					surfaceheight	= "256",
353e5c31af7Sopenharmony_ci					os				= "android",
354e5c31af7Sopenharmony_ci					filters		= GLCTS_3_2_3_GLES31_COMMON_FILTERS + [include("gles31-rotation.txt")]),
355e5c31af7Sopenharmony_ci		Configuration(name			= "rotate-landscape",
356e5c31af7Sopenharmony_ci					glconfig	= "rgba8888d24s8ms0",
357e5c31af7Sopenharmony_ci					rotation	= "90",
358e5c31af7Sopenharmony_ci					surfacewidth	= "256",
359e5c31af7Sopenharmony_ci					surfaceheight	= "256",
360e5c31af7Sopenharmony_ci					os				= "android",
361e5c31af7Sopenharmony_ci					filters		= GLCTS_3_2_3_GLES31_COMMON_FILTERS + [include("gles31-rotation.txt")]),
362e5c31af7Sopenharmony_ci		Configuration(name			= "rotate-reverse-portrait",
363e5c31af7Sopenharmony_ci					glconfig	= "rgba8888d24s8ms0",
364e5c31af7Sopenharmony_ci					rotation	= "180",
365e5c31af7Sopenharmony_ci					surfacewidth	= "256",
366e5c31af7Sopenharmony_ci					surfaceheight	= "256",
367e5c31af7Sopenharmony_ci					os				= "android",
368e5c31af7Sopenharmony_ci					filters		= GLCTS_3_2_3_GLES31_COMMON_FILTERS + [include("gles31-rotation.txt")]),
369e5c31af7Sopenharmony_ci		Configuration(name			= "rotate-reverse-landscape",
370e5c31af7Sopenharmony_ci					glconfig	= "rgba8888d24s8ms0",
371e5c31af7Sopenharmony_ci					rotation	= "270",
372e5c31af7Sopenharmony_ci					surfacewidth	= "256",
373e5c31af7Sopenharmony_ci					surfaceheight	= "256",
374e5c31af7Sopenharmony_ci					os				= "android",
375e5c31af7Sopenharmony_ci					filters		= GLCTS_3_2_3_GLES31_COMMON_FILTERS + [include("gles31-rotation.txt")]),
376e5c31af7Sopenharmony_ci
377e5c31af7Sopenharmony_ci		# MSAA
378e5c31af7Sopenharmony_ci		Configuration(name			= "multisample",
379e5c31af7Sopenharmony_ci					glconfig	= "rgba8888d24s8ms4",
380e5c31af7Sopenharmony_ci					rotation	= "unspecified",
381e5c31af7Sopenharmony_ci					surfacewidth	= "256",
382e5c31af7Sopenharmony_ci					surfaceheight	= "256",
383e5c31af7Sopenharmony_ci					filters		= [include("gles31-master.txt"),
384e5c31af7Sopenharmony_ci									include("gles31-multisample.txt"),
385e5c31af7Sopenharmony_ci									exclude("gles31-multisample-test-issues.txt")]),
386e5c31af7Sopenharmony_ci
387e5c31af7Sopenharmony_ci		# Pixel format
388e5c31af7Sopenharmony_ci		Configuration(name			= "565-no-depth-no-stencil",
389e5c31af7Sopenharmony_ci					glconfig	= "rgb565d0s0ms0",
390e5c31af7Sopenharmony_ci					rotation	= "unspecified",
391e5c31af7Sopenharmony_ci					surfacewidth	= "256",
392e5c31af7Sopenharmony_ci					surfaceheight	= "256",
393e5c31af7Sopenharmony_ci					os				= "android",
394e5c31af7Sopenharmony_ci					filters		= GLCTS_3_2_3_GLES31_COMMON_FILTERS + [include("gles31-pixelformat.txt")]),
395e5c31af7Sopenharmony_ci	])
396e5c31af7Sopenharmony_ci
397e5c31af7Sopenharmony_ciGLCTS_3_2_3_GLES32_KHR_COMMON_FILTERS	= [
398e5c31af7Sopenharmony_ci		include("gles32-khr-master.txt"),
399e5c31af7Sopenharmony_ci		exclude("gles32-khr-test-issues.txt"),
400e5c31af7Sopenharmony_ci		exclude("gles32-khr-spec-issues.txt")
401e5c31af7Sopenharmony_ci	]
402e5c31af7Sopenharmony_ci
403e5c31af7Sopenharmony_ciGLCTS_3_2_3_GLES32_KHR_PKG_1CFG			= Package(module = ES32KHR_MODULE, configurations = [
404e5c31af7Sopenharmony_ci		# Master
405e5c31af7Sopenharmony_ci		Configuration(name			= "khr-master",
406e5c31af7Sopenharmony_ci					surfacewidth	= "64",
407e5c31af7Sopenharmony_ci					surfaceheight	= "64",
408e5c31af7Sopenharmony_ci					baseseed		= "1",
409e5c31af7Sopenharmony_ci					filters			= GLCTS_3_2_3_GLES32_KHR_COMMON_FILTERS),
410e5c31af7Sopenharmony_ci		Configuration(name			= "khr-master",
411e5c31af7Sopenharmony_ci					surfacewidth	= "113",
412e5c31af7Sopenharmony_ci					surfaceheight	= "47",
413e5c31af7Sopenharmony_ci					baseseed		= "2",
414e5c31af7Sopenharmony_ci					filters			= GLCTS_3_2_3_GLES32_KHR_COMMON_FILTERS),
415e5c31af7Sopenharmony_ci		Configuration(name			= "khr-master",
416e5c31af7Sopenharmony_ci					surfacewidth	= "64",
417e5c31af7Sopenharmony_ci					surfaceheight	= "-1",
418e5c31af7Sopenharmony_ci					baseseed		= "3",
419e5c31af7Sopenharmony_ci					fboconfig		= "rgba8888d24s8",
420e5c31af7Sopenharmony_ci					filters			= GLCTS_3_2_3_GLES32_KHR_COMMON_FILTERS),
421e5c31af7Sopenharmony_ci		Configuration(name			= "khr-master",
422e5c31af7Sopenharmony_ci					surfacewidth	= "-1",
423e5c31af7Sopenharmony_ci					surfaceheight	= "64",
424e5c31af7Sopenharmony_ci					baseseed		= "3",
425e5c31af7Sopenharmony_ci					fboconfig		= "rgba8888d24s8",
426e5c31af7Sopenharmony_ci					filters			= GLCTS_3_2_3_GLES32_KHR_COMMON_FILTERS),
427e5c31af7Sopenharmony_ci	])
428e5c31af7Sopenharmony_ci
429e5c31af7Sopenharmony_ciGLCTS_3_2_3_GLES32_KHR_PKG_N1CFG		= Package(module = ES32KHR_MODULE, useforfirsteglconfig = False, configurations = [
430e5c31af7Sopenharmony_ci		# Master
431e5c31af7Sopenharmony_ci		Configuration(name			= "khr-master",
432e5c31af7Sopenharmony_ci					surfacewidth	= "64",
433e5c31af7Sopenharmony_ci					surfaceheight	= "64",
434e5c31af7Sopenharmony_ci					baseseed		= "1",
435e5c31af7Sopenharmony_ci					filters			= GLCTS_3_2_3_GLES32_KHR_COMMON_FILTERS),
436e5c31af7Sopenharmony_ci		Configuration(name			= "khr-master",
437e5c31af7Sopenharmony_ci					surfacewidth	= "113",
438e5c31af7Sopenharmony_ci					surfaceheight	= "47",
439e5c31af7Sopenharmony_ci					baseseed		= "2",
440e5c31af7Sopenharmony_ci					filters			= GLCTS_3_2_3_GLES32_KHR_COMMON_FILTERS),
441e5c31af7Sopenharmony_ci	])
442e5c31af7Sopenharmony_ci
443e5c31af7Sopenharmony_ci
444e5c31af7Sopenharmony_ci# master
445e5c31af7Sopenharmony_ciMAIN_EGL_COMMON_FILTERS			= [include("egl-master.txt"),
446e5c31af7Sopenharmony_ci										exclude("egl-test-issues.txt"),
447e5c31af7Sopenharmony_ci										exclude("egl-internal-api-tests.txt")]
448e5c31af7Sopenharmony_ciMAIN_EGL_PKG						= Package(module = EGL_MODULE, configurations = [
449e5c31af7Sopenharmony_ci		# Master
450e5c31af7Sopenharmony_ci		Configuration(name			= "master",
451e5c31af7Sopenharmony_ci					glconfig		= "rgba8888d24s8ms0",
452e5c31af7Sopenharmony_ci					rotation		= "unspecified",
453e5c31af7Sopenharmony_ci					surfacewidth	= "256",
454e5c31af7Sopenharmony_ci					surfaceheight	= "256",
455e5c31af7Sopenharmony_ci					filters			= MAIN_EGL_COMMON_FILTERS),
456e5c31af7Sopenharmony_ci	])
457e5c31af7Sopenharmony_ci
458e5c31af7Sopenharmony_ciMAIN_GLES2_COMMON_FILTERS			= [
459e5c31af7Sopenharmony_ci				include("gles2-master.txt"),
460e5c31af7Sopenharmony_ci				exclude("gles2-test-issues.txt"),
461e5c31af7Sopenharmony_ci				exclude("gles2-spec-issues.txt")
462e5c31af7Sopenharmony_ci		]
463e5c31af7Sopenharmony_ciMAIN_GLES2_PKG         = Package(module = ES2CTS_MODULE, configurations = [
464e5c31af7Sopenharmony_ci        # Master
465e5c31af7Sopenharmony_ci        Configuration(name          = "master",
466e5c31af7Sopenharmony_ci                    glconfig        = "rgba8888d24s8ms0",
467e5c31af7Sopenharmony_ci                    rotation        = "unspecified",
468e5c31af7Sopenharmony_ci                    surfacewidth    = "256",
469e5c31af7Sopenharmony_ci                    surfaceheight   = "256",
470e5c31af7Sopenharmony_ci                    filters         = MAIN_GLES2_COMMON_FILTERS),
471e5c31af7Sopenharmony_ci    ])
472e5c31af7Sopenharmony_ci
473e5c31af7Sopenharmony_ciMAIN_GLES3_COMMON_FILTERS		= [
474e5c31af7Sopenharmony_ci		include("gles3-master.txt"),
475e5c31af7Sopenharmony_ci		exclude("gles3-test-issues.txt"),
476e5c31af7Sopenharmony_ci		exclude("gles3-spec-issues.txt")
477e5c31af7Sopenharmony_ci	]
478e5c31af7Sopenharmony_ciMAIN_GLES3_PKG				= Package(module = ES3CTS_MODULE, configurations = [
479e5c31af7Sopenharmony_ci		# Master
480e5c31af7Sopenharmony_ci		Configuration(name			= "master",
481e5c31af7Sopenharmony_ci					glconfig	= "rgba8888d24s8ms0",
482e5c31af7Sopenharmony_ci					rotation	= "unspecified",
483e5c31af7Sopenharmony_ci					surfacewidth    = "256",
484e5c31af7Sopenharmony_ci					surfaceheight   = "256",
485e5c31af7Sopenharmony_ci					filters		= MAIN_GLES3_COMMON_FILTERS),
486e5c31af7Sopenharmony_ci		# Rotations
487e5c31af7Sopenharmony_ci		Configuration(name			= "rotate-portrait",
488e5c31af7Sopenharmony_ci					glconfig	= "rgba8888d24s8ms0",
489e5c31af7Sopenharmony_ci					rotation	= "0",
490e5c31af7Sopenharmony_ci					surfacewidth	= "256",
491e5c31af7Sopenharmony_ci					surfaceheight	= "256",
492e5c31af7Sopenharmony_ci					os				= "android",
493e5c31af7Sopenharmony_ci					filters		= MAIN_GLES3_COMMON_FILTERS + [include("gles3-rotation.txt")]),
494e5c31af7Sopenharmony_ci		Configuration(name			= "rotate-landscape",
495e5c31af7Sopenharmony_ci					glconfig	= "rgba8888d24s8ms0",
496e5c31af7Sopenharmony_ci					rotation	= "90",
497e5c31af7Sopenharmony_ci					surfacewidth	= "256",
498e5c31af7Sopenharmony_ci					surfaceheight	= "256",
499e5c31af7Sopenharmony_ci					os				= "android",
500e5c31af7Sopenharmony_ci					filters		= MAIN_GLES3_COMMON_FILTERS + [include("gles3-rotation.txt")]),
501e5c31af7Sopenharmony_ci		Configuration(name			= "rotate-reverse-portrait",
502e5c31af7Sopenharmony_ci					glconfig	= "rgba8888d24s8ms0",
503e5c31af7Sopenharmony_ci					rotation	= "180",
504e5c31af7Sopenharmony_ci					surfacewidth	= "256",
505e5c31af7Sopenharmony_ci					surfaceheight	= "256",
506e5c31af7Sopenharmony_ci					os				= "android",
507e5c31af7Sopenharmony_ci					filters		= MAIN_GLES3_COMMON_FILTERS + [include("gles3-rotation.txt")]),
508e5c31af7Sopenharmony_ci		Configuration(name			= "rotate-reverse-landscape",
509e5c31af7Sopenharmony_ci					glconfig	= "rgba8888d24s8ms0",
510e5c31af7Sopenharmony_ci					rotation	= "270",
511e5c31af7Sopenharmony_ci					surfacewidth	= "256",
512e5c31af7Sopenharmony_ci					surfaceheight	= "256",
513e5c31af7Sopenharmony_ci					os				= "android",
514e5c31af7Sopenharmony_ci					filters		= MAIN_GLES3_COMMON_FILTERS + [include("gles3-rotation.txt")]),
515e5c31af7Sopenharmony_ci
516e5c31af7Sopenharmony_ci		# MSAA
517e5c31af7Sopenharmony_ci		Configuration(name			= "multisample",
518e5c31af7Sopenharmony_ci					glconfig	= "rgba8888d24s8ms4",
519e5c31af7Sopenharmony_ci					rotation	= "unspecified",
520e5c31af7Sopenharmony_ci					surfacewidth	= "256",
521e5c31af7Sopenharmony_ci					surfaceheight	= "256",
522e5c31af7Sopenharmony_ci					filters		= MAIN_GLES3_COMMON_FILTERS + [include("gles3-multisample.txt")]),
523e5c31af7Sopenharmony_ci
524e5c31af7Sopenharmony_ci		# Pixel format
525e5c31af7Sopenharmony_ci		Configuration(name			= "565-no-depth-no-stencil",
526e5c31af7Sopenharmony_ci					glconfig	= "rgb565d0s0ms0",
527e5c31af7Sopenharmony_ci					rotation	= "unspecified",
528e5c31af7Sopenharmony_ci					surfacewidth	= "256",
529e5c31af7Sopenharmony_ci					surfaceheight	= "256",
530e5c31af7Sopenharmony_ci					os				= "android",
531e5c31af7Sopenharmony_ci					filters		= MAIN_GLES3_COMMON_FILTERS + [include("gles3-pixelformat.txt")]),
532e5c31af7Sopenharmony_ci	])
533e5c31af7Sopenharmony_ciMAIN_GLES31_COMMON_FILTERS             = [
534e5c31af7Sopenharmony_ci		include("gles31-master.txt"),
535e5c31af7Sopenharmony_ci		exclude("gles31-test-issues.txt"),
536e5c31af7Sopenharmony_ci		exclude("gles31-spec-issues.txt")
537e5c31af7Sopenharmony_ci	]
538e5c31af7Sopenharmony_ci
539e5c31af7Sopenharmony_ciMAIN_GLES31_PKG				= Package(module = ES31CTS_MODULE, configurations = [
540e5c31af7Sopenharmony_ci		# Master
541e5c31af7Sopenharmony_ci		Configuration(name			= "master",
542e5c31af7Sopenharmony_ci					glconfig	= "rgba8888d24s8ms0",
543e5c31af7Sopenharmony_ci					rotation	= "unspecified",
544e5c31af7Sopenharmony_ci					surfacewidth	= "256",
545e5c31af7Sopenharmony_ci					surfaceheight	= "256",
546e5c31af7Sopenharmony_ci					filters		= MAIN_GLES31_COMMON_FILTERS),
547e5c31af7Sopenharmony_ci
548e5c31af7Sopenharmony_ci		# Rotations
549e5c31af7Sopenharmony_ci		Configuration(name			= "rotate-portrait",
550e5c31af7Sopenharmony_ci					glconfig	= "rgba8888d24s8ms0",
551e5c31af7Sopenharmony_ci					rotation	= "0",
552e5c31af7Sopenharmony_ci					surfacewidth	= "256",
553e5c31af7Sopenharmony_ci					surfaceheight	= "256",
554e5c31af7Sopenharmony_ci					os				= "android",
555e5c31af7Sopenharmony_ci					filters		= MAIN_GLES31_COMMON_FILTERS + [include("gles31-rotation.txt")]),
556e5c31af7Sopenharmony_ci		Configuration(name			= "rotate-landscape",
557e5c31af7Sopenharmony_ci					glconfig	= "rgba8888d24s8ms0",
558e5c31af7Sopenharmony_ci					rotation	= "90",
559e5c31af7Sopenharmony_ci					surfacewidth	= "256",
560e5c31af7Sopenharmony_ci					surfaceheight	= "256",
561e5c31af7Sopenharmony_ci					os				= "android",
562e5c31af7Sopenharmony_ci					filters		= MAIN_GLES31_COMMON_FILTERS + [include("gles31-rotation.txt")]),
563e5c31af7Sopenharmony_ci		Configuration(name			= "rotate-reverse-portrait",
564e5c31af7Sopenharmony_ci					glconfig	= "rgba8888d24s8ms0",
565e5c31af7Sopenharmony_ci					rotation	= "180",
566e5c31af7Sopenharmony_ci					surfacewidth	= "256",
567e5c31af7Sopenharmony_ci					surfaceheight	= "256",
568e5c31af7Sopenharmony_ci					os				= "android",
569e5c31af7Sopenharmony_ci					filters		= MAIN_GLES31_COMMON_FILTERS + [include("gles31-rotation.txt")]),
570e5c31af7Sopenharmony_ci		Configuration(name			= "rotate-reverse-landscape",
571e5c31af7Sopenharmony_ci					glconfig	= "rgba8888d24s8ms0",
572e5c31af7Sopenharmony_ci					rotation	= "270",
573e5c31af7Sopenharmony_ci					surfacewidth	= "256",
574e5c31af7Sopenharmony_ci					surfaceheight	= "256",
575e5c31af7Sopenharmony_ci					os				= "android",
576e5c31af7Sopenharmony_ci					filters		= MAIN_GLES31_COMMON_FILTERS + [include("gles31-rotation.txt")]),
577e5c31af7Sopenharmony_ci
578e5c31af7Sopenharmony_ci		# MSAA
579e5c31af7Sopenharmony_ci		Configuration(name			= "multisample",
580e5c31af7Sopenharmony_ci					glconfig	= "rgba8888d24s8ms4",
581e5c31af7Sopenharmony_ci					rotation	= "unspecified",
582e5c31af7Sopenharmony_ci					surfacewidth	= "256",
583e5c31af7Sopenharmony_ci					surfaceheight	= "256",
584e5c31af7Sopenharmony_ci					filters		= MAIN_GLES31_COMMON_FILTERS + [include("gles31-multisample.txt")]),
585e5c31af7Sopenharmony_ci
586e5c31af7Sopenharmony_ci		# Pixel format
587e5c31af7Sopenharmony_ci		Configuration(name			= "565-no-depth-no-stencil",
588e5c31af7Sopenharmony_ci					glconfig	= "rgb565d0s0ms0",
589e5c31af7Sopenharmony_ci					rotation	= "unspecified",
590e5c31af7Sopenharmony_ci					surfacewidth	= "256",
591e5c31af7Sopenharmony_ci					surfaceheight	= "256",
592e5c31af7Sopenharmony_ci					os				= "android",
593e5c31af7Sopenharmony_ci					filters		= MAIN_GLES31_COMMON_FILTERS + [include("gles31-pixelformat.txt")]),
594e5c31af7Sopenharmony_ci	])
595e5c31af7Sopenharmony_ci
596e5c31af7Sopenharmony_ciGLCTS_GLES2_KHR_PKG_1CFG			= Package(module = ES2KHR_MODULE, configurations = [
597e5c31af7Sopenharmony_ci		# Master
598e5c31af7Sopenharmony_ci		Configuration(name			= "khr-master",
599e5c31af7Sopenharmony_ci					surfacewidth	= "64",
600e5c31af7Sopenharmony_ci					surfaceheight	= "64",
601e5c31af7Sopenharmony_ci					baseseed		= "1",
602e5c31af7Sopenharmony_ci					filters			= [include("gles2-khr-master.txt")]),
603e5c31af7Sopenharmony_ci	])
604e5c31af7Sopenharmony_ci
605e5c31af7Sopenharmony_ciGLCTS_GLES2_DEQP_PKG_1CFG			= Package(module = ES2CTS_MODULE, configurations = [
606e5c31af7Sopenharmony_ci		# Master
607e5c31af7Sopenharmony_ci		Configuration(name			= "deqp-master",
608e5c31af7Sopenharmony_ci					surfacewidth	= "64",
609e5c31af7Sopenharmony_ci					surfaceheight	= "64",
610e5c31af7Sopenharmony_ci					baseseed		= "1",
611e5c31af7Sopenharmony_ci					filters			= [include("gles2-deqp-master.txt")]),
612e5c31af7Sopenharmony_ci	])
613e5c31af7Sopenharmony_ci
614e5c31af7Sopenharmony_ciGLCTS_GLES2_GTF_PKG_1CFG			= Package(module = ES2GTF_MODULE, configurations = [
615e5c31af7Sopenharmony_ci		# Master
616e5c31af7Sopenharmony_ci		Configuration(name			= "gtf-master",
617e5c31af7Sopenharmony_ci					surfacewidth	= "64",
618e5c31af7Sopenharmony_ci					surfaceheight	= "64",
619e5c31af7Sopenharmony_ci					baseseed		= "1",
620e5c31af7Sopenharmony_ci					filters			= [include("gles2-gtf-master.txt")]),
621e5c31af7Sopenharmony_ci		Configuration(name			= "gtf-master",
622e5c31af7Sopenharmony_ci					surfacewidth	= "113",
623e5c31af7Sopenharmony_ci					surfaceheight	= "47",
624e5c31af7Sopenharmony_ci					baseseed		= "2",
625e5c31af7Sopenharmony_ci					filters			= [include("gles2-gtf-master.txt")]),
626e5c31af7Sopenharmony_ci		Configuration(name			= "gtf-master",
627e5c31af7Sopenharmony_ci					surfacewidth	= "64",
628e5c31af7Sopenharmony_ci					surfaceheight	= "-1",
629e5c31af7Sopenharmony_ci					baseseed		= "3",
630e5c31af7Sopenharmony_ci					fboconfig		= "rgba8888d24s8",
631e5c31af7Sopenharmony_ci					filters			= [include("gles2-gtf-master.txt")]),
632e5c31af7Sopenharmony_ci		Configuration(name			= "gtf-master",
633e5c31af7Sopenharmony_ci					surfacewidth	= "-1",
634e5c31af7Sopenharmony_ci					surfaceheight	= "64",
635e5c31af7Sopenharmony_ci					baseseed		= "3",
636e5c31af7Sopenharmony_ci					fboconfig		= "rgba8888d24s8",
637e5c31af7Sopenharmony_ci					filters			= [include("gles2-gtf-master.txt")]),
638e5c31af7Sopenharmony_ci		Configuration(name			= "gtf-egl",
639e5c31af7Sopenharmony_ci					surfacewidth	= "64",
640e5c31af7Sopenharmony_ci					surfaceheight	= "64",
641e5c31af7Sopenharmony_ci					baseseed		= "1",
642e5c31af7Sopenharmony_ci					filters			= [include("gles2-gtf-egl.txt")]),
643e5c31af7Sopenharmony_ci		Configuration(name			= "gtf-egl",
644e5c31af7Sopenharmony_ci					surfacewidth	= "113",
645e5c31af7Sopenharmony_ci					surfaceheight	= "47",
646e5c31af7Sopenharmony_ci					baseseed		= "2",
647e5c31af7Sopenharmony_ci					filters			= [include("gles2-gtf-egl.txt")]),
648e5c31af7Sopenharmony_ci	])
649e5c31af7Sopenharmony_ci
650e5c31af7Sopenharmony_ciGLCTS_GLES2_KHR_PKG_N1CFG			= Package(module = ES2KHR_MODULE, useforfirsteglconfig = False, configurations = [
651e5c31af7Sopenharmony_ci		# Master
652e5c31af7Sopenharmony_ci		Configuration(name			= "khr-master",
653e5c31af7Sopenharmony_ci					surfacewidth	= "64",
654e5c31af7Sopenharmony_ci					surfaceheight	= "64",
655e5c31af7Sopenharmony_ci					baseseed		= "1",
656e5c31af7Sopenharmony_ci					filters			= [include("gles2-khr-master.txt")]),
657e5c31af7Sopenharmony_ci	])
658e5c31af7Sopenharmony_ci
659e5c31af7Sopenharmony_ciGLCTS_GLES2_DEQP_PKG_N1CFG			= Package(module = ES2CTS_MODULE, useforfirsteglconfig = False, configurations = [
660e5c31af7Sopenharmony_ci		# Master
661e5c31af7Sopenharmony_ci		Configuration(name			= "deqp-master",
662e5c31af7Sopenharmony_ci					surfacewidth	= "64",
663e5c31af7Sopenharmony_ci					surfaceheight	= "64",
664e5c31af7Sopenharmony_ci					baseseed		= "1",
665e5c31af7Sopenharmony_ci					filters			= [include("gles2-deqp-master.txt")]),
666e5c31af7Sopenharmony_ci	])
667e5c31af7Sopenharmony_ci
668e5c31af7Sopenharmony_ciGLCTS_GLES2_GTF_PKG_N1CFG			= Package(module = ES2GTF_MODULE, useforfirsteglconfig = False, configurations = [
669e5c31af7Sopenharmony_ci		# Master
670e5c31af7Sopenharmony_ci		Configuration(name			= "gtf-master",
671e5c31af7Sopenharmony_ci					surfacewidth	= "64",
672e5c31af7Sopenharmony_ci					surfaceheight	= "64",
673e5c31af7Sopenharmony_ci					baseseed		= "1",
674e5c31af7Sopenharmony_ci					filters		= [include("gles2-gtf-master.txt")]),
675e5c31af7Sopenharmony_ci		Configuration(name			= "gtf-master",
676e5c31af7Sopenharmony_ci					surfacewidth	= "113",
677e5c31af7Sopenharmony_ci					surfaceheight	= "47",
678e5c31af7Sopenharmony_ci					baseseed		= "2",
679e5c31af7Sopenharmony_ci					filters			= [include("gles2-gtf-master.txt")]),
680e5c31af7Sopenharmony_ci	])
681e5c31af7Sopenharmony_ci
682e5c31af7Sopenharmony_ciGLCTS_GLES3_DEQP_PKG_1CFG			= Package(module = ES3CTS_MODULE, configurations = [
683e5c31af7Sopenharmony_ci		# Master
684e5c31af7Sopenharmony_ci		Configuration(name			= "deqp-master",
685e5c31af7Sopenharmony_ci					surfacewidth	= "64",
686e5c31af7Sopenharmony_ci					surfaceheight	= "64",
687e5c31af7Sopenharmony_ci					baseseed		= "1",
688e5c31af7Sopenharmony_ci					filters			= [include("gles3-deqp-master.txt")]),
689e5c31af7Sopenharmony_ci	])
690e5c31af7Sopenharmony_ci
691e5c31af7Sopenharmony_ciGLCTS_GLES3_KHR_PKG_1CFG			= Package(module = ES3KHR_MODULE, configurations = [
692e5c31af7Sopenharmony_ci		# Master
693e5c31af7Sopenharmony_ci		Configuration(name			= "khr-master",
694e5c31af7Sopenharmony_ci					surfacewidth	= "64",
695e5c31af7Sopenharmony_ci					surfaceheight	= "64",
696e5c31af7Sopenharmony_ci					baseseed		= "1",
697e5c31af7Sopenharmony_ci					filters			= [include("gles3-khr-master.txt")]),
698e5c31af7Sopenharmony_ci	])
699e5c31af7Sopenharmony_ci
700e5c31af7Sopenharmony_ciGLCTS_GLES3_GTF_PKG_1CFG			= Package(module = ES3GTF_MODULE, configurations = [
701e5c31af7Sopenharmony_ci		# Master
702e5c31af7Sopenharmony_ci		Configuration(name			= "gtf-master",
703e5c31af7Sopenharmony_ci					surfacewidth	= "64",
704e5c31af7Sopenharmony_ci					surfaceheight	= "64",
705e5c31af7Sopenharmony_ci					baseseed		= "1",
706e5c31af7Sopenharmony_ci					filters			= [include("gles3-gtf-master.txt")]),
707e5c31af7Sopenharmony_ci		Configuration(name			= "gtf-master",
708e5c31af7Sopenharmony_ci					surfacewidth	= "113",
709e5c31af7Sopenharmony_ci					surfaceheight	= "47",
710e5c31af7Sopenharmony_ci					baseseed		= "2",
711e5c31af7Sopenharmony_ci					filters			= [include("gles3-gtf-master.txt")]),
712e5c31af7Sopenharmony_ci		Configuration(name			= "gtf-master",
713e5c31af7Sopenharmony_ci					surfacewidth	= "64",
714e5c31af7Sopenharmony_ci					surfaceheight	= "-1",
715e5c31af7Sopenharmony_ci					baseseed		= "3",
716e5c31af7Sopenharmony_ci					fboconfig		= "rgba8888d24s8",
717e5c31af7Sopenharmony_ci					filters			= [include("gles3-gtf-master.txt")]),
718e5c31af7Sopenharmony_ci		Configuration(name			= "gtf-master",
719e5c31af7Sopenharmony_ci					surfacewidth	= "-1",
720e5c31af7Sopenharmony_ci					surfaceheight	= "64",
721e5c31af7Sopenharmony_ci					baseseed		= "3",
722e5c31af7Sopenharmony_ci					fboconfig		= "rgba8888d24s8",
723e5c31af7Sopenharmony_ci					filters			= [include("gles3-gtf-master.txt")]),
724e5c31af7Sopenharmony_ci	])
725e5c31af7Sopenharmony_ci
726e5c31af7Sopenharmony_ciGLCTS_GLES3_DEQP_PKG_N1CFG			= Package(module = ES3CTS_MODULE, useforfirsteglconfig = False, configurations = [
727e5c31af7Sopenharmony_ci		# Master
728e5c31af7Sopenharmony_ci		Configuration(name			= "deqp-master",
729e5c31af7Sopenharmony_ci					surfacewidth	= "64",
730e5c31af7Sopenharmony_ci					surfaceheight	= "64",
731e5c31af7Sopenharmony_ci					baseseed		= "1",
732e5c31af7Sopenharmony_ci					filters			= [include("gles3-deqp-master.txt")]),
733e5c31af7Sopenharmony_ci	])
734e5c31af7Sopenharmony_ci
735e5c31af7Sopenharmony_ciGLCTS_GLES3_KHR_PKG_N1CFG			= Package(module = ES3KHR_MODULE, useforfirsteglconfig = False, configurations = [
736e5c31af7Sopenharmony_ci		# Master
737e5c31af7Sopenharmony_ci		Configuration(name			= "khr-master",
738e5c31af7Sopenharmony_ci					surfacewidth	= "64",
739e5c31af7Sopenharmony_ci					surfaceheight	= "64",
740e5c31af7Sopenharmony_ci					baseseed		= "1",
741e5c31af7Sopenharmony_ci					filters			= [include("gles3-khr-master.txt")]),
742e5c31af7Sopenharmony_ci	])
743e5c31af7Sopenharmony_ciGLCTS_GLES3_GTF_PKG_N1CFG			= Package(module = ES3GTF_MODULE, useforfirsteglconfig = False, configurations = [
744e5c31af7Sopenharmony_ci		# Master
745e5c31af7Sopenharmony_ci		Configuration(name			= "gtf-master",
746e5c31af7Sopenharmony_ci					surfacewidth	= "64",
747e5c31af7Sopenharmony_ci					surfaceheight	= "64",
748e5c31af7Sopenharmony_ci					baseseed		= "1",
749e5c31af7Sopenharmony_ci					filters			= [include("gles3-gtf-master.txt")]),
750e5c31af7Sopenharmony_ci		Configuration(name			= "gtf-master",
751e5c31af7Sopenharmony_ci					surfacewidth	= "113",
752e5c31af7Sopenharmony_ci					surfaceheight	= "47",
753e5c31af7Sopenharmony_ci					baseseed		= "2",
754e5c31af7Sopenharmony_ci					filters			= [include("gles3-gtf-master.txt")]),
755e5c31af7Sopenharmony_ci	])
756e5c31af7Sopenharmony_ci
757e5c31af7Sopenharmony_ciGLCTS_GLES31_DEQP_PKG_1CFG			= Package(module = ES31CTS_MODULE, configurations = [
758e5c31af7Sopenharmony_ci		# Master
759e5c31af7Sopenharmony_ci		Configuration(name			= "deqp-master",
760e5c31af7Sopenharmony_ci					surfacewidth	= "64",
761e5c31af7Sopenharmony_ci					surfaceheight	= "64",
762e5c31af7Sopenharmony_ci					baseseed		= "1",
763e5c31af7Sopenharmony_ci					filters			= [include("gles31-deqp-master.txt")]),
764e5c31af7Sopenharmony_ci	])
765e5c31af7Sopenharmony_ci
766e5c31af7Sopenharmony_ciGLCTS_GLES31_KHR_PKG_1CFG			= Package(module = ES31KHR_MODULE, configurations = [
767e5c31af7Sopenharmony_ci		# Master
768e5c31af7Sopenharmony_ci		Configuration(name			= "khr-master",
769e5c31af7Sopenharmony_ci					surfacewidth	= "64",
770e5c31af7Sopenharmony_ci					surfaceheight	= "64",
771e5c31af7Sopenharmony_ci					baseseed		= "1",
772e5c31af7Sopenharmony_ci					filters			= [include("gles31-khr-master.txt")]),
773e5c31af7Sopenharmony_ci	])
774e5c31af7Sopenharmony_ci
775e5c31af7Sopenharmony_ciGLCTS_GLES31_GTF_PKG_1CFG			= Package(module = ES31GTF_MODULE, configurations = [
776e5c31af7Sopenharmony_ci		# Master
777e5c31af7Sopenharmony_ci		Configuration(name			= "gtf-master",
778e5c31af7Sopenharmony_ci					surfacewidth	= "64",
779e5c31af7Sopenharmony_ci					surfaceheight	= "64",
780e5c31af7Sopenharmony_ci					baseseed		= "1",
781e5c31af7Sopenharmony_ci					filters			= [include("gles31-gtf-master.txt")]),
782e5c31af7Sopenharmony_ci		Configuration(name			= "gtf-master",
783e5c31af7Sopenharmony_ci					surfacewidth	= "113",
784e5c31af7Sopenharmony_ci					surfaceheight	= "47",
785e5c31af7Sopenharmony_ci					baseseed		= "2",
786e5c31af7Sopenharmony_ci					filters			= [include("gles31-gtf-master.txt")]),
787e5c31af7Sopenharmony_ci		Configuration(name			= "gtf-master",
788e5c31af7Sopenharmony_ci					surfacewidth	= "64",
789e5c31af7Sopenharmony_ci					surfaceheight	= "-1",
790e5c31af7Sopenharmony_ci					baseseed		= "3",
791e5c31af7Sopenharmony_ci					fboconfig		= "rgba8888d24s8",
792e5c31af7Sopenharmony_ci					filters			= [include("gles31-gtf-master.txt")]),
793e5c31af7Sopenharmony_ci		Configuration(name			= "gtf-master",
794e5c31af7Sopenharmony_ci					surfacewidth	= "-1",
795e5c31af7Sopenharmony_ci					surfaceheight	= "64",
796e5c31af7Sopenharmony_ci					baseseed		= "3",
797e5c31af7Sopenharmony_ci					fboconfig		= "rgba8888d24s8",
798e5c31af7Sopenharmony_ci					filters			= [include("gles31-gtf-master.txt")]),
799e5c31af7Sopenharmony_ci	])
800e5c31af7Sopenharmony_ci
801e5c31af7Sopenharmony_ciGLCTS_GLES31_KHR_PKG_N1CFG			= Package(module = ES31KHR_MODULE, useforfirsteglconfig = False, configurations = [
802e5c31af7Sopenharmony_ci		# Master
803e5c31af7Sopenharmony_ci		Configuration(name			= "khr-master",
804e5c31af7Sopenharmony_ci					surfacewidth	= "64",
805e5c31af7Sopenharmony_ci					surfaceheight	= "64",
806e5c31af7Sopenharmony_ci					baseseed		= "1",
807e5c31af7Sopenharmony_ci					filters			= [include("gles31-khr-master.txt")]),
808e5c31af7Sopenharmony_ci	])
809e5c31af7Sopenharmony_ci
810e5c31af7Sopenharmony_ciGLCTS_GLES31_DEQP_PKG_N1CFG			= Package(module = ES31CTS_MODULE, useforfirsteglconfig = False, configurations = [
811e5c31af7Sopenharmony_ci		# Master
812e5c31af7Sopenharmony_ci		Configuration(name			= "deqp-master",
813e5c31af7Sopenharmony_ci					surfacewidth	= "64",
814e5c31af7Sopenharmony_ci					surfaceheight	= "64",
815e5c31af7Sopenharmony_ci					baseseed		= "1",
816e5c31af7Sopenharmony_ci					filters			= [include("gles31-deqp-master.txt")]),
817e5c31af7Sopenharmony_ci	])
818e5c31af7Sopenharmony_ci
819e5c31af7Sopenharmony_ciGLCTS_GLES31_GTF_PKG_N1CFG			= Package(module = ES31GTF_MODULE, useforfirsteglconfig = False, configurations = [
820e5c31af7Sopenharmony_ci		# Master
821e5c31af7Sopenharmony_ci		Configuration(name			= "gtf-master",
822e5c31af7Sopenharmony_ci					surfacewidth	= "64",
823e5c31af7Sopenharmony_ci					surfaceheight	= "64",
824e5c31af7Sopenharmony_ci					baseseed		= "1",
825e5c31af7Sopenharmony_ci					filters			= [include("gles31-gtf-master.txt")]),
826e5c31af7Sopenharmony_ci		Configuration(name			= "gtf-master",
827e5c31af7Sopenharmony_ci					surfacewidth	= "113",
828e5c31af7Sopenharmony_ci					surfaceheight	= "47",
829e5c31af7Sopenharmony_ci					baseseed		= "2",
830e5c31af7Sopenharmony_ci					filters			= [include("gles31-gtf-master.txt")]),
831e5c31af7Sopenharmony_ci	])
832e5c31af7Sopenharmony_ci
833e5c31af7Sopenharmony_ciMAIN_GLES32_COMMON_FILTERS             = [
834e5c31af7Sopenharmony_ci		include("gles32-khr-master.txt"),
835e5c31af7Sopenharmony_ci		exclude("gles32-khr-test-issues.txt"),
836e5c31af7Sopenharmony_ci		exclude("gles32-khr-spec-issues.txt")
837e5c31af7Sopenharmony_ci	]
838e5c31af7Sopenharmony_ci
839e5c31af7Sopenharmony_ciGLCTS_GLES32_KHR_PKG_1CFG			= Package(module = ES32KHR_MODULE, configurations = [
840e5c31af7Sopenharmony_ci		# Master
841e5c31af7Sopenharmony_ci		Configuration(name			= "khr-master",
842e5c31af7Sopenharmony_ci					surfacewidth	= "64",
843e5c31af7Sopenharmony_ci					surfaceheight	= "64",
844e5c31af7Sopenharmony_ci					baseseed		= "1",
845e5c31af7Sopenharmony_ci					filters			= MAIN_GLES32_COMMON_FILTERS),
846e5c31af7Sopenharmony_ci		Configuration(name			= "khr-master",
847e5c31af7Sopenharmony_ci					surfacewidth	= "113",
848e5c31af7Sopenharmony_ci					surfaceheight	= "47",
849e5c31af7Sopenharmony_ci					baseseed		= "2",
850e5c31af7Sopenharmony_ci					filters			= MAIN_GLES32_COMMON_FILTERS),
851e5c31af7Sopenharmony_ci		Configuration(name			= "khr-master",
852e5c31af7Sopenharmony_ci					surfacewidth	= "64",
853e5c31af7Sopenharmony_ci					surfaceheight	= "-1",
854e5c31af7Sopenharmony_ci					baseseed		= "3",
855e5c31af7Sopenharmony_ci					fboconfig		= "rgba8888d24s8",
856e5c31af7Sopenharmony_ci					filters			= MAIN_GLES32_COMMON_FILTERS),
857e5c31af7Sopenharmony_ci		Configuration(name			= "khr-master",
858e5c31af7Sopenharmony_ci					surfacewidth	= "-1",
859e5c31af7Sopenharmony_ci					surfaceheight	= "64",
860e5c31af7Sopenharmony_ci					baseseed		= "3",
861e5c31af7Sopenharmony_ci					fboconfig		= "rgba8888d24s8",
862e5c31af7Sopenharmony_ci					filters			= MAIN_GLES32_COMMON_FILTERS),
863e5c31af7Sopenharmony_ci	])
864e5c31af7Sopenharmony_ci
865e5c31af7Sopenharmony_ciGLCTS_GLES32_KHR_PKG_N1CFG			= Package(module = ES32KHR_MODULE, useforfirsteglconfig = False, configurations = [
866e5c31af7Sopenharmony_ci		# Master
867e5c31af7Sopenharmony_ci		Configuration(name			= "khr-master",
868e5c31af7Sopenharmony_ci					surfacewidth	= "64",
869e5c31af7Sopenharmony_ci					surfaceheight	= "64",
870e5c31af7Sopenharmony_ci					baseseed		= "1",
871e5c31af7Sopenharmony_ci					filters			= MAIN_GLES32_COMMON_FILTERS),
872e5c31af7Sopenharmony_ci		Configuration(name			= "khr-master",
873e5c31af7Sopenharmony_ci					surfacewidth	= "113",
874e5c31af7Sopenharmony_ci					surfaceheight	= "47",
875e5c31af7Sopenharmony_ci					baseseed		= "2",
876e5c31af7Sopenharmony_ci					filters			= MAIN_GLES32_COMMON_FILTERS),
877e5c31af7Sopenharmony_ci	])
878e5c31af7Sopenharmony_ci
879e5c31af7Sopenharmony_ciGLCTS_NOCTX_ES2_KHR_PKG			= Package(module = NOCTX_ES2_KHR_MODULE, configurations = [
880e5c31af7Sopenharmony_ci		# Master
881e5c31af7Sopenharmony_ci		Configuration(name			= "khr-noctx-master",
882e5c31af7Sopenharmony_ci					surfacewidth	= "64",
883e5c31af7Sopenharmony_ci					surfaceheight	= "64",
884e5c31af7Sopenharmony_ci					baseseed		= "1",
885e5c31af7Sopenharmony_ci					filters			= [include("gles2-khr-master.txt")]),
886e5c31af7Sopenharmony_ci	])
887e5c31af7Sopenharmony_ci
888e5c31af7Sopenharmony_ciGLCTS_NOCTX_ES32_KHR_PKG		= Package(module = NOCTX_ES32_KHR_MODULE, configurations = [
889e5c31af7Sopenharmony_ci		# Master
890e5c31af7Sopenharmony_ci		Configuration(name			= "khr-noctx-master",
891e5c31af7Sopenharmony_ci					surfacewidth	= "64",
892e5c31af7Sopenharmony_ci					surfaceheight	= "64",
893e5c31af7Sopenharmony_ci					baseseed		= "1",
894e5c31af7Sopenharmony_ci					filters			= MAIN_GLES32_COMMON_FILTERS),
895e5c31af7Sopenharmony_ci	])
896e5c31af7Sopenharmony_ci
897e5c31af7Sopenharmony_ciGLCTS_SINGLE_ES32_KHR_PKG		= Package(module = SINGLE_ES32_KHR_MODULE, configurations = [
898e5c31af7Sopenharmony_ci		# Master
899e5c31af7Sopenharmony_ci		Configuration(name			= "khr-single",
900e5c31af7Sopenharmony_ci					surfacewidth	= "64",
901e5c31af7Sopenharmony_ci					surfaceheight	= "64",
902e5c31af7Sopenharmony_ci					baseseed		= "1",
903e5c31af7Sopenharmony_ci					filters			= [include("gles32-khr-single.txt")]),
904e5c31af7Sopenharmony_ci	])
905e5c31af7Sopenharmony_ci
906e5c31af7Sopenharmony_ci
907e5c31af7Sopenharmony_ciES_MUSTPASS_LISTS		= [
908e5c31af7Sopenharmony_ci	# 3.2.2.x
909e5c31af7Sopenharmony_ci	Mustpass(project = CTS_KHR_MP_ES_PROJECT,	version = "3.2.2.x", isCurrent=False,
910e5c31af7Sopenharmony_ci			packages = [GLCTS_GLES2_KHR_PKG_1CFG,
911e5c31af7Sopenharmony_ci						GLCTS_GLES2_DEQP_PKG_1CFG,
912e5c31af7Sopenharmony_ci						GLCTS_GLES2_GTF_PKG_1CFG,
913e5c31af7Sopenharmony_ci						GLCTS_GLES2_KHR_PKG_N1CFG,
914e5c31af7Sopenharmony_ci						GLCTS_GLES2_DEQP_PKG_N1CFG,
915e5c31af7Sopenharmony_ci						GLCTS_GLES2_GTF_PKG_N1CFG,
916e5c31af7Sopenharmony_ci						GLCTS_GLES3_KHR_PKG_1CFG,
917e5c31af7Sopenharmony_ci						GLCTS_GLES3_DEQP_PKG_1CFG,
918e5c31af7Sopenharmony_ci						GLCTS_GLES3_GTF_PKG_1CFG,
919e5c31af7Sopenharmony_ci						GLCTS_GLES3_KHR_PKG_N1CFG,
920e5c31af7Sopenharmony_ci						GLCTS_GLES3_DEQP_PKG_N1CFG,
921e5c31af7Sopenharmony_ci						GLCTS_GLES3_GTF_PKG_N1CFG,
922e5c31af7Sopenharmony_ci						GLCTS_GLES31_KHR_PKG_1CFG,
923e5c31af7Sopenharmony_ci						GLCTS_GLES31_DEQP_PKG_1CFG,
924e5c31af7Sopenharmony_ci						GLCTS_GLES31_GTF_PKG_1CFG,
925e5c31af7Sopenharmony_ci						GLCTS_GLES31_KHR_PKG_N1CFG,
926e5c31af7Sopenharmony_ci						GLCTS_GLES31_DEQP_PKG_N1CFG,
927e5c31af7Sopenharmony_ci						GLCTS_GLES31_GTF_PKG_N1CFG,
928e5c31af7Sopenharmony_ci						GLCTS_GLES32_KHR_PKG_1CFG,
929e5c31af7Sopenharmony_ci						GLCTS_GLES32_KHR_PKG_N1CFG,
930e5c31af7Sopenharmony_ci						]),
931e5c31af7Sopenharmony_ci
932e5c31af7Sopenharmony_ci	Mustpass(project = CTS_AOSP_MP_ES_PROJECT,	version = "3.2.2.x", isCurrent=False,
933e5c31af7Sopenharmony_ci			packages = [GLCTS_GLES2_PKG, GLCTS_3_2_2_GLES3_PKG, GLCTS_3_2_2_GLES31_PKG]),
934e5c31af7Sopenharmony_ci
935e5c31af7Sopenharmony_ci	# 3.2.3.x
936e5c31af7Sopenharmony_ci	Mustpass(project = CTS_KHR_MP_ES_PROJECT,	version = "3.2.3.x", isCurrent=False,
937e5c31af7Sopenharmony_ci			packages = [GLCTS_GLES2_KHR_PKG_1CFG,
938e5c31af7Sopenharmony_ci						GLCTS_GLES2_GTF_PKG_1CFG,
939e5c31af7Sopenharmony_ci						GLCTS_GLES2_KHR_PKG_N1CFG,
940e5c31af7Sopenharmony_ci						GLCTS_GLES2_GTF_PKG_N1CFG,
941e5c31af7Sopenharmony_ci						GLCTS_GLES3_KHR_PKG_1CFG,
942e5c31af7Sopenharmony_ci						GLCTS_GLES3_GTF_PKG_1CFG,
943e5c31af7Sopenharmony_ci						GLCTS_GLES3_KHR_PKG_N1CFG,
944e5c31af7Sopenharmony_ci						GLCTS_GLES3_GTF_PKG_N1CFG,
945e5c31af7Sopenharmony_ci						GLCTS_GLES31_KHR_PKG_1CFG,
946e5c31af7Sopenharmony_ci						GLCTS_GLES31_GTF_PKG_1CFG,
947e5c31af7Sopenharmony_ci						GLCTS_GLES31_KHR_PKG_N1CFG,
948e5c31af7Sopenharmony_ci						GLCTS_GLES31_GTF_PKG_N1CFG,
949e5c31af7Sopenharmony_ci						GLCTS_3_2_3_GLES32_KHR_PKG_1CFG,
950e5c31af7Sopenharmony_ci						GLCTS_3_2_3_GLES32_KHR_PKG_N1CFG,
951e5c31af7Sopenharmony_ci						]),
952e5c31af7Sopenharmony_ci
953e5c31af7Sopenharmony_ci	Mustpass(project = CTS_AOSP_MP_ES_PROJECT, version = "3.2.3.x", isCurrent=False,
954e5c31af7Sopenharmony_ci			packages = [GLCTS_3_2_3_GLES2_PKG, GLCTS_3_2_3_GLES3_PKG, GLCTS_3_2_3_GLES31_PKG]),
955e5c31af7Sopenharmony_ci
956e5c31af7Sopenharmony_ci	Mustpass(project = CTS_AOSP_MP_EGL_PROJECT, version = "3.2.3.x", isCurrent=False,
957e5c31af7Sopenharmony_ci			packages = [GLCTS_3_2_3_EGL_PKG]),
958e5c31af7Sopenharmony_ci
959e5c31af7Sopenharmony_ci	# 3.2.4.x
960e5c31af7Sopenharmony_ci	Mustpass(project = CTS_KHR_MP_ES_PROJECT,	version = "3.2.4.x", isCurrent=False,
961e5c31af7Sopenharmony_ci			packages = [GLCTS_GLES2_KHR_PKG_1CFG,
962e5c31af7Sopenharmony_ci						GLCTS_GLES2_KHR_PKG_N1CFG,
963e5c31af7Sopenharmony_ci						GLCTS_GLES3_KHR_PKG_1CFG,
964e5c31af7Sopenharmony_ci						GLCTS_GLES3_KHR_PKG_N1CFG,
965e5c31af7Sopenharmony_ci						GLCTS_GLES31_KHR_PKG_1CFG,
966e5c31af7Sopenharmony_ci						GLCTS_GLES31_KHR_PKG_N1CFG,
967e5c31af7Sopenharmony_ci						GLCTS_3_2_3_GLES32_KHR_PKG_1CFG,
968e5c31af7Sopenharmony_ci						GLCTS_3_2_3_GLES32_KHR_PKG_N1CFG,
969e5c31af7Sopenharmony_ci						]),
970e5c31af7Sopenharmony_ci
971e5c31af7Sopenharmony_ci
972e5c31af7Sopenharmony_ci	Mustpass(project = CTS_KHR_MP_NOCTX_ES_PROJECT, version = "3.2.4.x", isCurrent=False,
973e5c31af7Sopenharmony_ci			packages = [GLCTS_NOCTX_ES2_KHR_PKG, GLCTS_NOCTX_ES32_KHR_PKG]),
974e5c31af7Sopenharmony_ci
975e5c31af7Sopenharmony_ci	Mustpass(project = CTS_AOSP_MP_ES_PROJECT, version = "3.2.4.x", isCurrent=False,
976e5c31af7Sopenharmony_ci			packages = [GLCTS_3_2_3_GLES2_PKG, GLCTS_3_2_3_GLES3_PKG, GLCTS_3_2_3_GLES31_PKG]),
977e5c31af7Sopenharmony_ci
978e5c31af7Sopenharmony_ci	Mustpass(project = CTS_AOSP_MP_EGL_PROJECT, version = "3.2.4.x", isCurrent=False,
979e5c31af7Sopenharmony_ci			packages = [GLCTS_3_2_3_EGL_PKG]),
980e5c31af7Sopenharmony_ci
981e5c31af7Sopenharmony_ci	# 3.2.5.x
982e5c31af7Sopenharmony_ci
983e5c31af7Sopenharmony_ci	Mustpass(project = CTS_KHR_MP_ES_PROJECT,   version = "3.2.5.x", isCurrent=False,
984e5c31af7Sopenharmony_ci			packages = [GLCTS_GLES2_KHR_PKG_1CFG,
985e5c31af7Sopenharmony_ci						GLCTS_GLES2_KHR_PKG_N1CFG,
986e5c31af7Sopenharmony_ci						GLCTS_GLES3_KHR_PKG_1CFG,
987e5c31af7Sopenharmony_ci						GLCTS_GLES3_KHR_PKG_N1CFG,
988e5c31af7Sopenharmony_ci						GLCTS_GLES31_KHR_PKG_1CFG,
989e5c31af7Sopenharmony_ci						GLCTS_GLES31_KHR_PKG_N1CFG,
990e5c31af7Sopenharmony_ci						GLCTS_GLES32_KHR_PKG_1CFG,
991e5c31af7Sopenharmony_ci						GLCTS_GLES32_KHR_PKG_N1CFG,
992e5c31af7Sopenharmony_ci						]),
993e5c31af7Sopenharmony_ci
994e5c31af7Sopenharmony_ci	Mustpass(project = CTS_KHR_MP_NOCTX_ES_PROJECT, version = "3.2.5.x", isCurrent=False,
995e5c31af7Sopenharmony_ci			packages = [GLCTS_NOCTX_ES2_KHR_PKG, GLCTS_NOCTX_ES32_KHR_PKG]),
996e5c31af7Sopenharmony_ci
997e5c31af7Sopenharmony_ci	Mustpass(project = CTS_AOSP_MP_ES_PROJECT, version = "3.2.5.x", isCurrent=False,
998e5c31af7Sopenharmony_ci			packages = [GLCTS_3_2_3_GLES2_PKG, GLCTS_3_2_3_GLES3_PKG, GLCTS_3_2_3_GLES31_PKG]),
999e5c31af7Sopenharmony_ci
1000e5c31af7Sopenharmony_ci	Mustpass(project = CTS_AOSP_MP_EGL_PROJECT, version = "3.2.5.x", isCurrent=False,
1001e5c31af7Sopenharmony_ci			packages = [GLCTS_3_2_3_EGL_PKG]),
1002e5c31af7Sopenharmony_ci
1003e5c31af7Sopenharmony_ci	# 3.2.6.x
1004e5c31af7Sopenharmony_ci
1005e5c31af7Sopenharmony_ci	Mustpass(project = CTS_KHR_MP_ES_PROJECT,   version = "3.2.6.x", isCurrent=False,
1006e5c31af7Sopenharmony_ci			packages = [GLCTS_GLES2_KHR_PKG_1CFG,
1007e5c31af7Sopenharmony_ci						GLCTS_GLES2_KHR_PKG_N1CFG,
1008e5c31af7Sopenharmony_ci						GLCTS_GLES3_KHR_PKG_1CFG,
1009e5c31af7Sopenharmony_ci						GLCTS_GLES3_KHR_PKG_N1CFG,
1010e5c31af7Sopenharmony_ci						GLCTS_GLES31_KHR_PKG_1CFG,
1011e5c31af7Sopenharmony_ci						GLCTS_GLES31_KHR_PKG_N1CFG,
1012e5c31af7Sopenharmony_ci						GLCTS_GLES32_KHR_PKG_1CFG,
1013e5c31af7Sopenharmony_ci						GLCTS_GLES32_KHR_PKG_N1CFG,
1014e5c31af7Sopenharmony_ci						]),
1015e5c31af7Sopenharmony_ci
1016e5c31af7Sopenharmony_ci	Mustpass(project = CTS_KHR_MP_NOCTX_ES_PROJECT, version = "3.2.6.x", isCurrent=False,
1017e5c31af7Sopenharmony_ci			packages = [GLCTS_NOCTX_ES2_KHR_PKG, GLCTS_NOCTX_ES32_KHR_PKG]),
1018e5c31af7Sopenharmony_ci
1019e5c31af7Sopenharmony_ci	Mustpass(project = CTS_KHR_MP_SINGLE_ES_PROJECT, version = "3.2.6.x", isCurrent=False,
1020e5c31af7Sopenharmony_ci			packages = [GLCTS_SINGLE_ES32_KHR_PKG]),
1021e5c31af7Sopenharmony_ci
1022e5c31af7Sopenharmony_ci	Mustpass(project = CTS_AOSP_MP_ES_PROJECT, version = "3.2.6.x", isCurrent=False,
1023e5c31af7Sopenharmony_ci			packages = [GLCTS_3_2_3_GLES2_PKG, GLCTS_3_2_3_GLES3_PKG, GLCTS_3_2_3_GLES31_PKG]),
1024e5c31af7Sopenharmony_ci
1025e5c31af7Sopenharmony_ci	Mustpass(project = CTS_AOSP_MP_EGL_PROJECT, version = "3.2.6.x", isCurrent=False,
1026e5c31af7Sopenharmony_ci			packages = [GLCTS_3_2_3_EGL_PKG]),
1027e5c31af7Sopenharmony_ci
1028e5c31af7Sopenharmony_ci	# main
1029e5c31af7Sopenharmony_ci
1030e5c31af7Sopenharmony_ci	Mustpass(project = CTS_KHR_MP_ES_PROJECT,	version = "main", isCurrent=True,
1031e5c31af7Sopenharmony_ci			packages = [GLCTS_GLES2_KHR_PKG_1CFG,
1032e5c31af7Sopenharmony_ci						GLCTS_GLES2_KHR_PKG_N1CFG,
1033e5c31af7Sopenharmony_ci						GLCTS_GLES3_KHR_PKG_1CFG,
1034e5c31af7Sopenharmony_ci						GLCTS_GLES3_KHR_PKG_N1CFG,
1035e5c31af7Sopenharmony_ci						GLCTS_GLES31_KHR_PKG_1CFG,
1036e5c31af7Sopenharmony_ci						GLCTS_GLES31_KHR_PKG_N1CFG,
1037e5c31af7Sopenharmony_ci						GLCTS_GLES32_KHR_PKG_1CFG,
1038e5c31af7Sopenharmony_ci						GLCTS_GLES32_KHR_PKG_N1CFG,
1039e5c31af7Sopenharmony_ci						]),
1040e5c31af7Sopenharmony_ci
1041e5c31af7Sopenharmony_ci	Mustpass(project = CTS_KHR_MP_NOCTX_ES_PROJECT, version = "main", isCurrent=True,
1042e5c31af7Sopenharmony_ci			packages = [GLCTS_NOCTX_ES2_KHR_PKG, GLCTS_NOCTX_ES32_KHR_PKG]),
1043e5c31af7Sopenharmony_ci
1044e5c31af7Sopenharmony_ci	Mustpass(project = CTS_KHR_MP_SINGLE_ES_PROJECT, version = "main", isCurrent=True,
1045e5c31af7Sopenharmony_ci			packages = [GLCTS_SINGLE_ES32_KHR_PKG]),
1046e5c31af7Sopenharmony_ci
1047e5c31af7Sopenharmony_ci	Mustpass(project = CTS_AOSP_MP_ES_PROJECT, version = "main", isCurrent=True,
1048e5c31af7Sopenharmony_ci			packages = [GLCTS_3_2_3_GLES2_PKG, GLCTS_3_2_3_GLES3_PKG, GLCTS_3_2_3_GLES31_PKG]),
1049e5c31af7Sopenharmony_ci
1050e5c31af7Sopenharmony_ci	Mustpass(project = CTS_AOSP_MP_EGL_PROJECT, version = "main", isCurrent=True,
1051e5c31af7Sopenharmony_ci			packages = [GLCTS_3_2_3_EGL_PKG])
1052e5c31af7Sopenharmony_ci
1053e5c31af7Sopenharmony_ci	]
1054e5c31af7Sopenharmony_ci
1055e5c31af7Sopenharmony_ciES_BUILD_CONFIG				= BuildConfig(buildPath, "Debug", ["-DDEQP_TARGET=%s" % DEFAULT_TARGET, "-DGLCTS_GTF_TARGET=gles32"])
1056e5c31af7Sopenharmony_ci
1057e5c31af7Sopenharmony_ci#-------------------------------------------------- GL MUSTPASS----------------------------------------------------------------------
1058e5c31af7Sopenharmony_ci
1059e5c31af7Sopenharmony_ciGL_CTS_MP_INC_DIR					= os.path.join(DEQP_DIR, "external", "openglcts", "modules", "runner")
1060e5c31af7Sopenharmony_ci
1061e5c31af7Sopenharmony_ciGL_CTS_KHR_MP_DATA_DIR				= os.path.join(DEQP_DIR, "external", "openglcts", "data", "mustpass", "gl", "khronos_mustpass")
1062e5c31af7Sopenharmony_ci
1063e5c31af7Sopenharmony_ciGL_CTS_KHR_MP_DEVICE_DIR			= "gl_cts/data/mustpass/gl/khronos_mustpass"
1064e5c31af7Sopenharmony_ci
1065e5c31af7Sopenharmony_ciGL_CTS_KHR_MP_PROJECT				= Project(name = "Khronos Mustpass GL", path = GL_CTS_KHR_MP_DATA_DIR, incpath = GL_CTS_MP_INC_DIR, devicepath = GL_CTS_KHR_MP_DEVICE_DIR, copyright = COPYRIGHT_DECLARATION)
1066e5c31af7Sopenharmony_ci
1067e5c31af7Sopenharmony_ciGL_CTS_KHR_MP_NOCTX_DATA_DIR		= os.path.join(DEQP_DIR, "external", "openglcts", "data", "mustpass", "gl", "khronos_mustpass_noctx")
1068e5c31af7Sopenharmony_ci
1069e5c31af7Sopenharmony_ciGL_CTS_KHR_MP_NOCTX_DEVICE_DIR		= "gl_cts/data/mustpass/gl/khronos_mustpass_noctx"
1070e5c31af7Sopenharmony_ci
1071e5c31af7Sopenharmony_ciGL_CTS_NOCTX_PROJECT				= Project(name = "Khronos Mustpass GL NoContext", path = GL_CTS_KHR_MP_NOCTX_DATA_DIR, incpath = GL_CTS_MP_INC_DIR, devicepath = GL_CTS_KHR_MP_NOCTX_DEVICE_DIR, copyright = COPYRIGHT_DECLARATION)
1072e5c31af7Sopenharmony_ci
1073e5c31af7Sopenharmony_ciGL_CTS_KHR_MP_SINGLE_DATA_DIR		= os.path.join(DEQP_DIR, "external", "openglcts", "data", "mustpass", "gl", "khronos_mustpass_single")
1074e5c31af7Sopenharmony_ci
1075e5c31af7Sopenharmony_ciGL_CTS_KHR_MP_SINGLE_DEVICE_DIR		= "gl_cts/data/mustpass/gl/khronos_mustpass_single"
1076e5c31af7Sopenharmony_ci
1077e5c31af7Sopenharmony_ciGL_CTS_KHR_SINGLE_PROJECT			= Project(name = "Khronos Mustpass GL Single Config", path = GL_CTS_KHR_MP_SINGLE_DATA_DIR, incpath = GL_CTS_MP_INC_DIR, devicepath = GL_CTS_KHR_MP_SINGLE_DEVICE_DIR, copyright = COPYRIGHT_DECLARATION)
1078e5c31af7Sopenharmony_ci
1079e5c31af7Sopenharmony_ciGL_CTS_KHR_MP_GLES_DATA_DIR			= os.path.join(DEQP_DIR, "external", "openglcts", "data", "mustpass", "gl", "aosp_mustpass")
1080e5c31af7Sopenharmony_ci
1081e5c31af7Sopenharmony_ciGL_CTS_KHR_MP_GLES_DEVICE_DIR		= "gl_cts/data/mustpass/gl/aosp_mustpass"
1082e5c31af7Sopenharmony_ci
1083e5c31af7Sopenharmony_ciGL_CTS_GLES_PROJECT					= Project(name = "Khronos Mustpass AOSP for GL", path = GL_CTS_KHR_MP_GLES_DATA_DIR, incpath = GL_CTS_MP_INC_DIR, devicepath = GL_CTS_KHR_MP_GLES_DEVICE_DIR, copyright = COPYRIGHT_DECLARATION)
1084e5c31af7Sopenharmony_ci
1085e5c31af7Sopenharmony_ci
1086e5c31af7Sopenharmony_ciGL_MODULES							= OrderedDict([
1087e5c31af7Sopenharmony_ci			('KHR-GL46',		['master',		[include('gl46-master.txt'), exclude('gl46-test-issues.txt')]]),
1088e5c31af7Sopenharmony_ci			('KHR-GL45',		['master',		[include('gl45-master.txt'), exclude('gl45-test-issues.txt')]]),
1089e5c31af7Sopenharmony_ci			('KHR-GL44',		['master',		[include('gl44-master.txt'), exclude('gl44-test-issues.txt')]]),
1090e5c31af7Sopenharmony_ci			('KHR-GL43',		['master',		[include('gl43-master.txt'), exclude('gl43-test-issues.txt')]]),
1091e5c31af7Sopenharmony_ci			('KHR-GL42',		['master',		[include('gl42-master.txt'), exclude('gl42-test-issues.txt')]]),
1092e5c31af7Sopenharmony_ci			('KHR-GL42-COMPAT',	['master',		[include('gl42-compat-master.txt')]]),
1093e5c31af7Sopenharmony_ci			('KHR-GL41',		['master',		[include('gl41-master.txt'), exclude('gl41-test-issues.txt')]]),
1094e5c31af7Sopenharmony_ci			('KHR-GL40',		['master',		[include('gl40-master.txt'), exclude('gl40-test-issues.txt')]]),
1095e5c31af7Sopenharmony_ci			('KHR-GL33',		['master',		[include('gl33-master.txt'), exclude('gl33-test-issues.txt')]]),
1096e5c31af7Sopenharmony_ci			('KHR-GL32',		['master',		[include('gl32-master.txt'), exclude('gl32-test-issues.txt')]]),
1097e5c31af7Sopenharmony_ci			('KHR-GL31',		['master',		[include('gl31-master.txt'), exclude('gl31-test-issues.txt')]]),
1098e5c31af7Sopenharmony_ci			('KHR-GL30',		['master',		[include('gl30-master.txt'), exclude('gl30-test-issues.txt')]]),
1099e5c31af7Sopenharmony_ci			('GTF-GL46',		['gtf-master',	[include('gl46-gtf-master.txt')]]),
1100e5c31af7Sopenharmony_ci			('GTF-GL45',		['gtf-master',	[include('gl45-gtf-master.txt')]]),
1101e5c31af7Sopenharmony_ci			('GTF-GL44',		['gtf-master',	[include('gl44-gtf-master.txt')]]),
1102e5c31af7Sopenharmony_ci			('GTF-GL43',		['gtf-master',	[include('gl43-gtf-master.txt')]]),
1103e5c31af7Sopenharmony_ci			('GTF-GL42',		['gtf-master',	[include('gl42-gtf-master.txt')]]),
1104e5c31af7Sopenharmony_ci			('GTF-GL41',		['gtf-master',	[include('gl41-gtf-master.txt')]]),
1105e5c31af7Sopenharmony_ci			('GTF-GL40',		['gtf-master',	[include('gl40-gtf-master.txt')]]),
1106e5c31af7Sopenharmony_ci			('GTF-GL33',		['gtf-master',	[include('gl33-gtf-master.txt')]]),
1107e5c31af7Sopenharmony_ci			('GTF-GL32',		['gtf-master',	[include('gl32-gtf-master.txt')]]),
1108e5c31af7Sopenharmony_ci			('GTF-GL31',		['gtf-master',	[include('gl31-gtf-master.txt')]]),
1109e5c31af7Sopenharmony_ci			('GTF-GL30',		['gtf-master',	[include('gl30-gtf-master.txt')]])
1110e5c31af7Sopenharmony_ci		])
1111e5c31af7Sopenharmony_ci
1112e5c31af7Sopenharmony_ciNOCTX_GL30_KHR_MODULE			= getModuleByName("KHR-NOCTX-GL30")
1113e5c31af7Sopenharmony_ciNOCTX_GL40_KHR_MODULE			= getModuleByName("KHR-NOCTX-GL40")
1114e5c31af7Sopenharmony_ciNOCTX_GL43_KHR_MODULE			= getModuleByName("KHR-NOCTX-GL43")
1115e5c31af7Sopenharmony_ciNOCTX_GL45_KHR_MODULE			= getModuleByName("KHR-NOCTX-GL45")
1116e5c31af7Sopenharmony_ciSINGLE_GL43_KHR_MODULE			= getModuleByName("KHR-Single-GL43")
1117e5c31af7Sopenharmony_ciSINGLE_GL44_KHR_MODULE			= getModuleByName("KHR-Single-GL44")
1118e5c31af7Sopenharmony_ciSINGLE_GL45_KHR_MODULE			= getModuleByName("KHR-Single-GL45")
1119e5c31af7Sopenharmony_ciSINGLE_GL46_KHR_MODULE			= getModuleByName("KHR-Single-GL46")
1120e5c31af7Sopenharmony_ci
1121e5c31af7Sopenharmony_ciGLCTS_NOCTX_GL30_KHR_PKG			= Package(module = NOCTX_GL30_KHR_MODULE, configurations = [
1122e5c31af7Sopenharmony_ci		# Master
1123e5c31af7Sopenharmony_ci		Configuration(name			= "khr-master",
1124e5c31af7Sopenharmony_ci					surfacewidth	= "64",
1125e5c31af7Sopenharmony_ci					surfaceheight	= "64",
1126e5c31af7Sopenharmony_ci					baseseed		= "1",
1127e5c31af7Sopenharmony_ci					filters			= [include("gl30-khr-master.txt")]),
1128e5c31af7Sopenharmony_ci	])
1129e5c31af7Sopenharmony_ci
1130e5c31af7Sopenharmony_ciGLCTS_NOCTX_GL40_KHR_PKG			= Package(module = NOCTX_GL40_KHR_MODULE, configurations = [
1131e5c31af7Sopenharmony_ci		# Master
1132e5c31af7Sopenharmony_ci		Configuration(name			= "khr-master",
1133e5c31af7Sopenharmony_ci					surfacewidth	= "64",
1134e5c31af7Sopenharmony_ci					surfaceheight	= "64",
1135e5c31af7Sopenharmony_ci					baseseed		= "1",
1136e5c31af7Sopenharmony_ci					filters			= [include("gl40-khr-master.txt")]),
1137e5c31af7Sopenharmony_ci	])
1138e5c31af7Sopenharmony_ci
1139e5c31af7Sopenharmony_ciGLCTS_NOCTX_GL43_KHR_PKG			= Package(module = NOCTX_GL43_KHR_MODULE, configurations = [
1140e5c31af7Sopenharmony_ci		# Master
1141e5c31af7Sopenharmony_ci		Configuration(name			= "khr-master",
1142e5c31af7Sopenharmony_ci					surfacewidth	= "64",
1143e5c31af7Sopenharmony_ci					surfaceheight	= "64",
1144e5c31af7Sopenharmony_ci					baseseed		= "1",
1145e5c31af7Sopenharmony_ci					filters			= [include("gl43-khr-master.txt")]),
1146e5c31af7Sopenharmony_ci	])
1147e5c31af7Sopenharmony_ci
1148e5c31af7Sopenharmony_ciGLCTS_NOCTX_GL45_KHR_PKG			= Package(module = NOCTX_GL45_KHR_MODULE, configurations = [
1149e5c31af7Sopenharmony_ci		# Master
1150e5c31af7Sopenharmony_ci		Configuration(name			= "khr-master",
1151e5c31af7Sopenharmony_ci					surfacewidth	= "64",
1152e5c31af7Sopenharmony_ci					surfaceheight	= "64",
1153e5c31af7Sopenharmony_ci					baseseed		= "1",
1154e5c31af7Sopenharmony_ci					filters			= [include("gl45-khr-master.txt")]),
1155e5c31af7Sopenharmony_ci	])
1156e5c31af7Sopenharmony_ci
1157e5c31af7Sopenharmony_ciGLCTS_SINGLE_GL43_KHR_PKG			= Package(module = SINGLE_GL43_KHR_MODULE, configurations = [
1158e5c31af7Sopenharmony_ci		# Master
1159e5c31af7Sopenharmony_ci		Configuration(name			= "khr-single",
1160e5c31af7Sopenharmony_ci					surfacewidth	= "64",
1161e5c31af7Sopenharmony_ci					surfaceheight	= "64",
1162e5c31af7Sopenharmony_ci					baseseed		= "1",
1163e5c31af7Sopenharmony_ci					filters			= [include("gl43-khr-single.txt")]),
1164e5c31af7Sopenharmony_ci	])
1165e5c31af7Sopenharmony_ci
1166e5c31af7Sopenharmony_ciGLCTS_SINGLE_GL44_KHR_PKG			= Package(module = SINGLE_GL44_KHR_MODULE, configurations = [
1167e5c31af7Sopenharmony_ci		# Master
1168e5c31af7Sopenharmony_ci		Configuration(name			= "khr-single",
1169e5c31af7Sopenharmony_ci					surfacewidth	= "64",
1170e5c31af7Sopenharmony_ci					surfaceheight	= "64",
1171e5c31af7Sopenharmony_ci					baseseed		= "1",
1172e5c31af7Sopenharmony_ci					filters			= [include("gl44-khr-single.txt")]),
1173e5c31af7Sopenharmony_ci	])
1174e5c31af7Sopenharmony_ci
1175e5c31af7Sopenharmony_ciGLCTS_SINGLE_GL45_KHR_PKG			= Package(module = SINGLE_GL45_KHR_MODULE, configurations = [
1176e5c31af7Sopenharmony_ci		# Master
1177e5c31af7Sopenharmony_ci		Configuration(name			= "khr-single",
1178e5c31af7Sopenharmony_ci					surfacewidth	= "64",
1179e5c31af7Sopenharmony_ci					surfaceheight	= "64",
1180e5c31af7Sopenharmony_ci					baseseed		= "1",
1181e5c31af7Sopenharmony_ci					filters			= [include("gl45-khr-single.txt")]),
1182e5c31af7Sopenharmony_ci	])
1183e5c31af7Sopenharmony_ci
1184e5c31af7Sopenharmony_ciGLCTS_SINGLE_GL46_KHR_PKG			= Package(module = SINGLE_GL46_KHR_MODULE, configurations = [
1185e5c31af7Sopenharmony_ci		# Master
1186e5c31af7Sopenharmony_ci		Configuration(name			= "khr-single",
1187e5c31af7Sopenharmony_ci					surfacewidth	= "64",
1188e5c31af7Sopenharmony_ci					surfaceheight	= "64",
1189e5c31af7Sopenharmony_ci					baseseed		= "1",
1190e5c31af7Sopenharmony_ci					filters			= [include("gl46-khr-single.txt")]),
1191e5c31af7Sopenharmony_ci	])
1192e5c31af7Sopenharmony_ci
1193e5c31af7Sopenharmony_ciMAIN_GL_ES3_PKG						= Package(module = GL45ES3_MODULE, configurations = [
1194e5c31af7Sopenharmony_ci		# Master
1195e5c31af7Sopenharmony_ci		Configuration(name			= "es3-master",
1196e5c31af7Sopenharmony_ci					  glconfig		= "rgba8888d24s8ms0",
1197e5c31af7Sopenharmony_ci					  rotation		= "unspecified",
1198e5c31af7Sopenharmony_ci					  surfacewidth	= "256",
1199e5c31af7Sopenharmony_ci					  surfaceheight	= "256",
1200e5c31af7Sopenharmony_ci					  filters		= [include("gl45es3-master.txt"), exclude("gl45es3-test-issues.txt"), exclude("gl45es3-spec-issues.txt")])
1201e5c31af7Sopenharmony_ci	])
1202e5c31af7Sopenharmony_ci
1203e5c31af7Sopenharmony_ciMAIN_GL_ES31_PKG					= Package(module = GL45ES31_MODULE, configurations = [
1204e5c31af7Sopenharmony_ci		# Master
1205e5c31af7Sopenharmony_ci		Configuration(name			= "es31-master",
1206e5c31af7Sopenharmony_ci					  glconfig		= "rgba8888d24s8ms0",
1207e5c31af7Sopenharmony_ci					  rotation		= "unspecified",
1208e5c31af7Sopenharmony_ci					  surfacewidth	= "256",
1209e5c31af7Sopenharmony_ci					  surfaceheight	= "256",
1210e5c31af7Sopenharmony_ci					  filters		= [include("gl45es31-master.txt"), exclude("gl45es31-test-issues.txt"), exclude("gl45es31-spec-issues.txt")])
1211e5c31af7Sopenharmony_ci	])
1212e5c31af7Sopenharmony_ci
1213e5c31af7Sopenharmony_cidef generateGLMustpass():
1214e5c31af7Sopenharmony_ci		gl_packages = []
1215e5c31af7Sopenharmony_ci		for packageName in GL_MODULES:
1216e5c31af7Sopenharmony_ci			cfgName			= GL_MODULES[packageName][0]
1217e5c31af7Sopenharmony_ci			cfgFilter		= GL_MODULES[packageName][1]
1218e5c31af7Sopenharmony_ci			config_w64xh64	= Configuration(name = cfgName, surfacewidth = "64", surfaceheight = "64", baseseed = "1", filters = cfgFilter)
1219e5c31af7Sopenharmony_ci			config_w113xh47	= Configuration(name = cfgName, surfacewidth = "113", surfaceheight = "47", baseseed = "2", filters = cfgFilter)
1220e5c31af7Sopenharmony_ci			config_w64		= Configuration(name = cfgName, surfacewidth = "64", surfaceheight = "-1", baseseed = "3", fboconfig = "rgba8888d24s8", filters = cfgFilter)
1221e5c31af7Sopenharmony_ci			config_h64		= Configuration(name = cfgName, surfacewidth = "-1", surfaceheight = "64", baseseed = "3", fboconfig = "rgba8888d24s8", filters = cfgFilter)
1222e5c31af7Sopenharmony_ci
1223e5c31af7Sopenharmony_ci			pkgModule		= getModuleByName(packageName)
1224e5c31af7Sopenharmony_ci			pkg0			= Package(module = pkgModule,
1225e5c31af7Sopenharmony_ci										useforfirsteglconfig = True,
1226e5c31af7Sopenharmony_ci										configurations = [
1227e5c31af7Sopenharmony_ci											config_w64xh64, config_w113xh47, config_w64, config_h64
1228e5c31af7Sopenharmony_ci										]
1229e5c31af7Sopenharmony_ci									)
1230e5c31af7Sopenharmony_ci			pkg1			= Package(module = pkgModule,
1231e5c31af7Sopenharmony_ci										useforfirsteglconfig = False,
1232e5c31af7Sopenharmony_ci										configurations = [
1233e5c31af7Sopenharmony_ci											config_w64xh64, config_w113xh47,
1234e5c31af7Sopenharmony_ci										]
1235e5c31af7Sopenharmony_ci									)
1236e5c31af7Sopenharmony_ci			gl_packages.append(pkg0)
1237e5c31af7Sopenharmony_ci			gl_packages.append(pkg1)
1238e5c31af7Sopenharmony_ci
1239e5c31af7Sopenharmony_ci		mustpass = [Mustpass(project = GL_CTS_KHR_MP_PROJECT, version = "4.6.0.x", isCurrent=False, packages = gl_packages),
1240e5c31af7Sopenharmony_ci					Mustpass(project = GL_CTS_NOCTX_PROJECT, version = "4.6.0.x", isCurrent=False, packages = [GLCTS_NOCTX_GL30_KHR_PKG, GLCTS_NOCTX_GL40_KHR_PKG, GLCTS_NOCTX_GL43_KHR_PKG, GLCTS_NOCTX_GL45_KHR_PKG]),
1241e5c31af7Sopenharmony_ci
1242e5c31af7Sopenharmony_ci					Mustpass(project = GL_CTS_KHR_MP_PROJECT, version = "4.6.1.x", isCurrent=False, packages = gl_packages),
1243e5c31af7Sopenharmony_ci					Mustpass(project = GL_CTS_NOCTX_PROJECT, version = "4.6.1.x", isCurrent=False, packages = [GLCTS_NOCTX_GL30_KHR_PKG, GLCTS_NOCTX_GL40_KHR_PKG, GLCTS_NOCTX_GL43_KHR_PKG, GLCTS_NOCTX_GL45_KHR_PKG]),
1244e5c31af7Sopenharmony_ci					Mustpass(project = GL_CTS_KHR_SINGLE_PROJECT, version = "4.6.1.x", isCurrent=False, packages = [GLCTS_SINGLE_GL43_KHR_PKG, GLCTS_SINGLE_GL44_KHR_PKG, GLCTS_SINGLE_GL45_KHR_PKG, GLCTS_SINGLE_GL46_KHR_PKG]),
1245e5c31af7Sopenharmony_ci					Mustpass(project = GL_CTS_GLES_PROJECT, version = "4.6.1.x", isCurrent=False, packages = [MAIN_GL_ES3_PKG, MAIN_GL_ES31_PKG]),
1246e5c31af7Sopenharmony_ci
1247e5c31af7Sopenharmony_ci					Mustpass(project = GL_CTS_KHR_MP_PROJECT, version = "main", isCurrent=True, packages = gl_packages),
1248e5c31af7Sopenharmony_ci					Mustpass(project = GL_CTS_NOCTX_PROJECT, version = "main", isCurrent=True, packages = [GLCTS_NOCTX_GL30_KHR_PKG, GLCTS_NOCTX_GL40_KHR_PKG, GLCTS_NOCTX_GL43_KHR_PKG, GLCTS_NOCTX_GL45_KHR_PKG]),
1249e5c31af7Sopenharmony_ci					Mustpass(project = GL_CTS_KHR_SINGLE_PROJECT, version = "main", isCurrent=True, packages = [GLCTS_SINGLE_GL43_KHR_PKG, GLCTS_SINGLE_GL44_KHR_PKG, GLCTS_SINGLE_GL45_KHR_PKG, GLCTS_SINGLE_GL46_KHR_PKG]),
1250e5c31af7Sopenharmony_ci					Mustpass(project = GL_CTS_GLES_PROJECT, version = "main", isCurrent=True, packages = [MAIN_GL_ES3_PKG, MAIN_GL_ES31_PKG]),
1251e5c31af7Sopenharmony_ci					]
1252e5c31af7Sopenharmony_ci		return mustpass
1253e5c31af7Sopenharmony_ci
1254e5c31af7Sopenharmony_ciGL_BUILD_CONFIG					= BuildConfig(buildPath, "Debug", ["-DDEQP_TARGET=%s" % DEFAULT_TARGET, "-DGLCTS_GTF_TARGET=gl"])
1255e5c31af7Sopenharmony_ci
1256e5c31af7Sopenharmony_ciif __name__ == "__main__":
1257e5c31af7Sopenharmony_ci	gtfCMakeLists = os.path.join(DEQP_DIR, "external", "kc-cts", "src", "GTF_ES", "CMakeLists.txt")
1258e5c31af7Sopenharmony_ci	if os.path.isfile(gtfCMakeLists) == False:
1259e5c31af7Sopenharmony_ci		raise Exception("GTF sources not found. GTF module is required to build the mustpass files. 'cd external && python fetch_kc_cts.py'")
1260e5c31af7Sopenharmony_ci	genMustpassLists(ES_MUSTPASS_LISTS, ANY_GENERATOR, ES_BUILD_CONFIG)
1261e5c31af7Sopenharmony_ci	gl_mustpass_lists = generateGLMustpass()
1262e5c31af7Sopenharmony_ci	genMustpassLists(gl_mustpass_lists, ANY_GENERATOR, GL_BUILD_CONFIG)
1263