def generateGLMustpass(): gl_packages = [] for packageName in GL_MODULES: cfgName = GL_MODULES[packageName][0] cfgFilter = GL_MODULES[packageName][1] config_w64xh64 = Configuration(name = cfgName, surfacewidth = "64", surfaceheight = "64", baseseed = "1", filters = cfgFilter) config_w113xh47 = Configuration(name = cfgName, surfacewidth = "113", surfaceheight = "47", baseseed = "2", filters = cfgFilter) config_w64 = Configuration(name = cfgName, surfacewidth = "64", surfaceheight = "-1", baseseed = "3", fboconfig = "rgba8888d24s8", filters = cfgFilter) config_h64 = Configuration(name = cfgName, surfacewidth = "-1", surfaceheight = "64", baseseed = "3", fboconfig = "rgba8888d24s8", filters = cfgFilter) pkgModule = getModuleByName(packageName) pkg0 = Package(module = pkgModule, useforfirsteglconfig = True, configurations = [ config_w64xh64, config_w113xh47, config_w64, config_h64 ] ) pkg1 = Package(module = pkgModule, useforfirsteglconfig = False, configurations = [ config_w64xh64, config_w113xh47, ] ) gl_packages.append(pkg0) gl_packages.append(pkg1) mustpass = [Mustpass(project = GL_CTS_KHR_MP_PROJECT, version = "4.6.0.x", isCurrent=False, packages = gl_packages), 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]), Mustpass(project = GL_CTS_KHR_MP_PROJECT, version = "4.6.1.x", isCurrent=True, packages = gl_packages), Mustpass(project = GL_CTS_NOCTX_PROJECT, version = "4.6.1.x", isCurrent=True, packages = [GLCTS_NOCTX_GL30_KHR_PKG, GLCTS_NOCTX_GL40_KHR_PKG, GLCTS_NOCTX_GL43_KHR_PKG, GLCTS_NOCTX_GL45_KHR_PKG]), ] return mustpass
def generateGLMustpass(): gl_packages = [] for packageName in GL_MODULES: cfgName = GL_MODULES[packageName][0] cfgFilter = GL_MODULES[packageName][1] config_w64xh64 = Configuration(name = cfgName, surfacewidth = "64", surfaceheight = "64", baseseed = "1", filters = cfgFilter) config_w113xh47 = Configuration(name = cfgName, surfacewidth = "113", surfaceheight = "47", baseseed = "2", filters = cfgFilter) config_w64 = Configuration(name = cfgName, surfacewidth = "64", surfaceheight = "-1", baseseed = "3", fboconfig = "rgba8888d24s8", filters = cfgFilter) config_h64 = Configuration(name = cfgName, surfacewidth = "-1", surfaceheight = "64", baseseed = "3", fboconfig = "rgba8888d24s8", filters = cfgFilter) pkgModule = getModuleByName(packageName) pkg0 = Package(module = pkgModule, useforfirsteglconfig = True, configurations = [ config_w64xh64, config_w113xh47, config_w64, config_h64 ] ) pkg1 = Package(module = pkgModule, useforfirsteglconfig = False, configurations = [ config_w64xh64, config_w113xh47, ] ) gl_packages.append(pkg0) gl_packages.append(pkg1) mustpass = [Mustpass(project = GL_CTS_KHR_MP_PROJECT, version = "4.6.0.x", isCurrent=True, packages = gl_packages), Mustpass(project = GL_CTS_NOCTX_PROJECT, version = "4.6.0.x", isCurrent=True, packages = [GLCTS_NOCTX_GL30_KHR_PKG, GLCTS_NOCTX_GL45_KHR_PKG]), ] return mustpass
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. """ CTS_DATA_DIR = os.path.join(DEQP_DIR, "android", "cts") CTS_PROJECT = Project(path=CTS_DATA_DIR, copyright=COPYRIGHT_DECLARATION) EGL_MODULE = getModuleByName("dEQP-EGL") GLES2_MODULE = getModuleByName("dEQP-GLES2") GLES3_MODULE = getModuleByName("dEQP-GLES3") GLES31_MODULE = getModuleByName("dEQP-GLES31") VULKAN_MODULE = getModuleByName("dEQP-VK") # Lollipop LMP_GLES3_PKG = Package(module=GLES3_MODULE, configurations=[ Configuration(name="master", glconfig="rgba8888d24s8ms0", rotation="unspecified", surfacetype="window", filters=[include("es30-lmp.txt")]), ])
devicepath=CTS_AOSP_MP_EGL_DEVICE_DIR, copyright=COPYRIGHT_DECLARATION) CTS_KHR_MP_NOCTX_DATA_DIR = os.path.join(DEQP_DIR, "external", "openglcts", "data", "mustpass", "gles", "khronos_mustpass_noctx") CTS_KHR_MP_NOCTX_DEVICE_DIR = "gl_cts/data/mustpass/gles/khronos_mustpass_noctx" CTS_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) EGL_MODULE = getModuleByName("dEQP-EGL") ES2CTS_MODULE = getModuleByName("dEQP-GLES2") ES3CTS_MODULE = getModuleByName("dEQP-GLES3") ES31CTS_MODULE = getModuleByName("dEQP-GLES31") ES2KHR_MODULE = getModuleByName("KHR-GLES2") ES3KHR_MODULE = getModuleByName("KHR-GLES3") ES31KHR_MODULE = getModuleByName("KHR-GLES31") ES32KHR_MODULE = getModuleByName("KHR-GLES32") NOCTXKHR_MODULE = getModuleByName("KHR-NoContext") ES2GTF_MODULE = getModuleByName("GTF-GLES2") ES3GTF_MODULE = getModuleByName("GTF-GLES3") ES31GTF_MODULE = getModuleByName("GTF-GLES31") GLCTS_GLES2_PKG = Package(
CTS_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) CTS_KHR_MP_NOCTX_DATA_DIR = os.path.join(DEQP_DIR, "external", "openglcts", "data", "mustpass", "gles", "khronos_mustpass_noctx") CTS_KHR_MP_NOCTX_DEVICE_DIR = "gl_cts/data/mustpass/gles/khronos_mustpass_noctx" CTS_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) CTS_KHR_MP_SINGLE_DATA_DIR = os.path.join(DEQP_DIR, "external", "openglcts", "data", "mustpass", "gles", "khronos_mustpass_single") CTS_KHR_MP_SINGLE_DEVICE_DIR = "gl_cts/data/mustpass/gles/khronos_mustpass_single" CTS_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) EGL_MODULE = getModuleByName("dEQP-EGL") ES2CTS_MODULE = getModuleByName("dEQP-GLES2") ES3CTS_MODULE = getModuleByName("dEQP-GLES3") ES31CTS_MODULE = getModuleByName("dEQP-GLES31") GL45ES3_MODULE = getModuleByName("dEQP-GL45-ES3") GL45ES31_MODULE = getModuleByName("dEQP-GL45-ES31") ES2KHR_MODULE = getModuleByName("KHR-GLES2") ES3KHR_MODULE = getModuleByName("KHR-GLES3") ES31KHR_MODULE = getModuleByName("KHR-GLES31") ES32KHR_MODULE = getModuleByName("KHR-GLES32") NOCTX_ES2_KHR_MODULE = getModuleByName("KHR-NOCTX-ES2") NOCTX_ES32_KHR_MODULE = getModuleByName("KHR-NOCTX-ES32") SINGLE_ES32_KHR_MODULE = getModuleByName("KHR-Single-GLES32") ES2GTF_MODULE = getModuleByName("GTF-GLES2")
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. """ MUSTPASS_PATH = os.path.join(DEQP_DIR, "external", "vulkancts", "mustpass") PROJECT = Project(path = MUSTPASS_PATH, copyright = COPYRIGHT_DECLARATION) VULKAN_MODULE = getModuleByName("dEQP-VK") BUILD_CONFIG = getBuildConfig(DEFAULT_BUILD_DIR, DEFAULT_TARGET, "Debug") # main VULKAN_MAIN_PKG = Package(module = VULKAN_MODULE, configurations = [ # Master Configuration(name = "default", filters = [include("master.txt"), exclude("test-issues.txt"), exclude("excluded-tests.txt"), exclude("android-tests.txt")], splitToMultipleFiles = True), Configuration(name = "fraction-mandatory-tests", filters = [include("fraction-mandatory-tests.txt")]), ])
CTS_KHR_MP_DEVICE_DIR = "gl_cts/data/mustpass/gles/khronos_mustpass" CTS_KHR_MP_ES3x_PROJECT = Project(name="Khronos Mustpass ES3x", path=CTS_KHR_MP_DATA_DIR, incpath=CTS_MP_INC_DIR, devicepath=CTS_KHR_MP_DEVICE_DIR, copyright=COPYRIGHT_DECLARATION) CTS_KHR_MP_ES2_PROJECT = Project(name="Khronos Mustpass ES2", path=CTS_KHR_MP_DATA_DIR, incpath=CTS_MP_INC_DIR, devicepath=CTS_KHR_MP_DEVICE_DIR, copyright=COPYRIGHT_DECLARATION) ES2CTS_MODULE = getModuleByName("dEQP-GLES2") ES3CTS_MODULE = getModuleByName("dEQP-GLES3") ES31CTS_MODULE = getModuleByName("dEQP-GLES31") ES2KHR_MODULE = getModuleByName("KHR-GLES2") ES3KHR_MODULE = getModuleByName("KHR-GLES3") ES31KHR_MODULE = getModuleByName("KHR-GLES31") ES32KHR_MODULE = getModuleByName("KHR-GLES32") ES2GTF_MODULE = getModuleByName("GTF-GLES2") ES3GTF_MODULE = getModuleByName("GTF-GLES3") ES31GTF_MODULE = getModuleByName("GTF-GLES31") GLCTS_GLES2_PKG = Package( module=ES2CTS_MODULE, configurations=[
CTS_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) CTS_AOSP_MP_EGL_DEVICE_DIR = "gl_cts/data/mustpass/egl/aosp_mustpass" CTS_AOSP_MP_EGL_DATA_DIR = os.path.join(DEQP_DIR, "external", "openglcts", "data", "mustpass", "egl", "aosp_mustpass") CTS_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) CTS_KHR_MP_NOCTX_DATA_DIR = os.path.join(DEQP_DIR, "external", "openglcts", "data", "mustpass", "gles", "khronos_mustpass_noctx") CTS_KHR_MP_NOCTX_DEVICE_DIR = "gl_cts/data/mustpass/gles/khronos_mustpass_noctx" CTS_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) EGL_MODULE = getModuleByName("dEQP-EGL") ES2CTS_MODULE = getModuleByName("dEQP-GLES2") ES3CTS_MODULE = getModuleByName("dEQP-GLES3") ES31CTS_MODULE = getModuleByName("dEQP-GLES31") ES2KHR_MODULE = getModuleByName("KHR-GLES2") ES3KHR_MODULE = getModuleByName("KHR-GLES3") ES31KHR_MODULE = getModuleByName("KHR-GLES31") ES32KHR_MODULE = getModuleByName("KHR-GLES32") NOCTX_ES2_KHR_MODULE = getModuleByName("KHR-NOCTX-ES2") NOCTX_ES32_KHR_MODULE = getModuleByName("KHR-NOCTX-ES32") ES2GTF_MODULE = getModuleByName("GTF-GLES2") ES3GTF_MODULE = getModuleByName("GTF-GLES3") ES31GTF_MODULE = getModuleByName("GTF-GLES31")
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. """ MUSTPASS_PATH = os.path.join(DEQP_DIR, "external", "vulkancts", "mustpass") PROJECT = Project(path = MUSTPASS_PATH, copyright = COPYRIGHT_DECLARATION) VULKAN_MODULE = getModuleByName("dEQP-VK") BUILD_CONFIG = getBuildConfig(DEFAULT_BUILD_DIR, DEFAULT_TARGET, "Debug") # 1.0.0 VULKAN_1_0_0_PKG = Package(module = VULKAN_MODULE, configurations = [ # Master Configuration(name = "default", filters = [include("master.txt")]), ]) # 1.0.1 VULKAN_1_0_1_PKG = Package(module = VULKAN_MODULE, configurations = [ # Master Configuration(name = "default",
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. """ CTS_DATA_DIR = os.path.join(DEQP_DIR, "android", "cts") CTS_PROJECT = Project(path = CTS_DATA_DIR, copyright = COPYRIGHT_DECLARATION) EGL_MODULE = getModuleByName("dEQP-EGL") GLES2_MODULE = getModuleByName("dEQP-GLES2") GLES3_MODULE = getModuleByName("dEQP-GLES3") GLES31_MODULE = getModuleByName("dEQP-GLES31") VULKAN_MODULE = getModuleByName("dEQP-VK") # Lollipop LMP_GLES3_PKG = Package(module = GLES3_MODULE, configurations = [ Configuration(name = "master", glconfig = "rgba8888d24s8ms0", rotation = "unspecified", surfacetype = "window", filters = [include("es30-lmp.txt")]), ]) LMP_GLES31_PKG = Package(module = GLES31_MODULE, configurations = [
CTS_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) CTS_AOSP_MP_EGL_DEVICE_DIR = "gl_cts/data/mustpass/egl/aosp_mustpass" CTS_AOSP_MP_EGL_DATA_DIR = os.path.join(DEQP_DIR, "external", "openglcts", "data", "mustpass", "egl", "aosp_mustpass") CTS_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) CTS_KHR_MP_NOCTX_DATA_DIR = os.path.join(DEQP_DIR, "external", "openglcts", "data", "mustpass", "gles", "khronos_mustpass_noctx") CTS_KHR_MP_NOCTX_DEVICE_DIR = "gl_cts/data/mustpass/gles/khronos_mustpass_noctx" CTS_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) EGL_MODULE = getModuleByName("dEQP-EGL") ES2CTS_MODULE = getModuleByName("dEQP-GLES2") ES3CTS_MODULE = getModuleByName("dEQP-GLES3") ES31CTS_MODULE = getModuleByName("dEQP-GLES31") ES2KHR_MODULE = getModuleByName("KHR-GLES2") ES3KHR_MODULE = getModuleByName("KHR-GLES3") ES31KHR_MODULE = getModuleByName("KHR-GLES31") ES32KHR_MODULE = getModuleByName("KHR-GLES32") NOCTXKHR_MODULE = getModuleByName("KHR-NoContext") ES2GTF_MODULE = getModuleByName("GTF-GLES2") ES3GTF_MODULE = getModuleByName("GTF-GLES3") ES31GTF_MODULE = getModuleByName("GTF-GLES31") GLCTS_GLES2_PKG = Package(module = ES2CTS_MODULE, configurations = [