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
Exemple #2
0
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=[
                             Configuration(name="master",
                                           glconfig="rgba8888d24s8ms0",
                                           rotation="unspecified",
                                           surfacetype="window",
                                           filters=[include("es31-lmp.txt")]),
                         ])

# Lollipop MR1

LMP_MR1_GLES3_PKG = Package(module=GLES3_MODULE,
Exemple #3
0
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=[
        # Master
        Configuration(name="master",
                      glconfig="rgba8888d24s8ms0",
                      rotation="unspecified",
                      surfacewidth="256",
                      surfaceheight="256",
                      filters=[include("gles2-master.txt")]),
    ])
GLCTS_3_2_2_GLES3_PKG = Package(
    module=ES3CTS_MODULE,
    configurations=[
        # Master
        Configuration(name="master",
                      glconfig="rgba8888d24s8ms0",
                      rotation="unspecified",
                      surfacewidth="256",
                      surfaceheight="256",
                      filters=[include("gles3-master.txt")]),

        # Rotations
Exemple #4
0
	 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")]),
	 ])

MUSTPASS_LISTS		= [
		  Mustpass(project = PROJECT,	version = "main",	packages = [VULKAN_MAIN_PKG]),
	]

if __name__ == "__main__":
	genMustpassLists(MUSTPASS_LISTS, ANY_GENERATOR, parseBuildConfigFromCmdLineArgs())
Exemple #5
0
	 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", filters=[include("master.txt")]),
    ])

# 1.0.2

VULKAN_1_0_2_PKG = Package(
    module=VULKAN_MODULE,
Exemple #6
0
	 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",
						filters		= [include("master.txt"),
									   exclude("test-issues.txt"),
									   exclude("excluded-tests.txt")]),
	 ])

MUSTPASS_LISTS		= [
		  Mustpass(project = PROJECT,	version = "1.0.0",	packages = [VULKAN_1_0_0_PKG]),
		  Mustpass(project = PROJECT,	version = "1.0.1",	packages = [VULKAN_1_0_1_PKG]),
MASTER_EGL_COMMON_FILTERS = [
    include("egl-master.txt"),
    exclude("egl-test-issues.txt"),
    exclude("egl-manual-robustness.txt"),
    exclude("egl-driver-issues.txt"),
    exclude("egl-temp-excluded.txt")
]
MASTER_EGL_PKG = Package(
    module=EGL_MODULE,
    configurations=[
        # Master
        Configuration(name="master",
                      glconfig="rgba8888d24s8ms0",
                      rotation="unspecified",
                      surfacetype="window",
                      required=True,
                      filters=MASTER_EGL_COMMON_FILTERS,
                      runtime="23m"),
        # Risky subset
        Configuration(name="master-risky",
                      glconfig="rgba8888d24s8ms0",
                      rotation="unspecified",
                      surfacetype="window",
                      required=True,
                      filters=[include("egl-temp-excluded.txt")],
                      runtime="2m"),
    ])

MASTER_GLES2_COMMON_FILTERS = [
    include("gles2-master.txt"),