from build.common import DEQP_DIR
from build.config import ANY_GENERATOR
from build_caselists import Module, getModuleByName, getBuildConfig, DEFAULT_BUILD_DIR, DEFAULT_TARGET
-from mustpass import Project, Package, Mustpass, Configuration, include, exclude, genMustpassLists
+from mustpass import Project, Package, Mustpass, Configuration, include, exclude, genMustpassLists, parseBuildConfigFromCmdLineArgs
import os
rotation = "unspecified",
surfacetype = "window",
filters = NYC_EGL_COMMON_FILTERS,
- runtime = "24m"),
+ runtime = "11m"),
])
NYC_GLES2_COMMON_FILTERS = [
rotation = "unspecified",
surfacetype = "window",
filters = NYC_GLES2_COMMON_FILTERS,
- runtime = "40m"),
+ runtime = "30m"),
])
NYC_GLES3_COMMON_FILTERS = [
rotation = "unspecified",
surfacetype = "window",
filters = NYC_GLES3_COMMON_FILTERS,
- runtime = "1h15m"),
+ runtime = "1h50min"),
# Rotations
Configuration(name = "rotate-portrait",
glconfig = "rgba8888d24s8ms0",
rotation = "0",
surfacetype = "window",
filters = NYC_GLES3_COMMON_FILTERS + [include("gles3-rotation.txt")],
- runtime = "7m"),
+ runtime = "5m"),
Configuration(name = "rotate-landscape",
glconfig = "rgba8888d24s8ms0",
rotation = "90",
surfacetype = "window",
filters = NYC_GLES3_COMMON_FILTERS + [include("gles3-rotation.txt")],
- runtime = "7m"),
+ runtime = "5m"),
Configuration(name = "rotate-reverse-portrait",
glconfig = "rgba8888d24s8ms0",
rotation = "180",
surfacetype = "window",
filters = NYC_GLES3_COMMON_FILTERS + [include("gles3-rotation.txt")],
- runtime = "7m"),
+ runtime = "5m"),
Configuration(name = "rotate-reverse-landscape",
glconfig = "rgba8888d24s8ms0",
rotation = "270",
surfacetype = "window",
filters = NYC_GLES3_COMMON_FILTERS + [include("gles3-rotation.txt")],
- runtime = "7m"),
+ runtime = "5m"),
# MSAA
Configuration(name = "multisample",
rotation = "unspecified",
surfacetype = "window",
filters = NYC_GLES31_COMMON_FILTERS,
- runtime = "7h30m"),
+ runtime = "4h40m"),
# Rotations
Configuration(name = "rotate-portrait",
NYC_VULKAN_PKG = Package(module = VULKAN_MODULE, configurations = [
Configuration(name = "master",
filters = NYC_VULKAN_FILTERS,
- runtime = "3h45m"),
+ runtime = "1h11m"),
])
# Master
MASTER_EGL_COMMON_FILTERS = [include("egl-master.txt"),
exclude("egl-test-issues.txt"),
- exclude("egl-internal-api-tests.txt")]
+ exclude("egl-internal-api-tests.txt"),
+ exclude("egl-manual-robustness.txt")]
MASTER_EGL_PKG = Package(module = EGL_MODULE, configurations = [
# Master
Configuration(name = "master",
surfacetype = "window",
required = True,
filters = MASTER_EGL_COMMON_FILTERS,
- runtime = "24m"),
+ runtime = "23m"),
])
MASTER_GLES2_COMMON_FILTERS = [
surfacetype = "window",
required = True,
filters = MASTER_GLES2_COMMON_FILTERS,
- runtime = "40m"),
+ runtime = "46m"),
])
MASTER_GLES3_COMMON_FILTERS = [
surfacetype = "window",
required = True,
filters = MASTER_GLES3_COMMON_FILTERS,
- runtime = "1h15m"),
+ runtime = "1h50m"),
# Rotations
Configuration(name = "rotate-portrait",
glconfig = "rgba8888d24s8ms0",
rotation = "0",
surfacetype = "window",
filters = MASTER_GLES3_COMMON_FILTERS + [include("gles3-rotation.txt")],
- runtime = "7m"),
+ runtime = "1m"),
Configuration(name = "rotate-landscape",
glconfig = "rgba8888d24s8ms0",
rotation = "90",
surfacetype = "window",
filters = MASTER_GLES3_COMMON_FILTERS + [include("gles3-rotation.txt")],
- runtime = "7m"),
+ runtime = "1m"),
Configuration(name = "rotate-reverse-portrait",
glconfig = "rgba8888d24s8ms0",
rotation = "180",
surfacetype = "window",
filters = MASTER_GLES3_COMMON_FILTERS + [include("gles3-rotation.txt")],
- runtime = "7m"),
+ runtime = "1m"),
Configuration(name = "rotate-reverse-landscape",
glconfig = "rgba8888d24s8ms0",
rotation = "270",
surfacetype = "window",
filters = MASTER_GLES3_COMMON_FILTERS + [include("gles3-rotation.txt")],
- runtime = "7m"),
+ runtime = "1m"),
# MSAA
Configuration(name = "multisample",
surfacetype = "window",
filters = MASTER_GLES3_COMMON_FILTERS + [include("gles3-multisample.txt"),
exclude("gles3-multisample-issues.txt")],
- runtime = "10m"),
+ runtime = "1m"),
# Pixel format
Configuration(name = "565-no-depth-no-stencil",
surfacetype = "window",
filters = MASTER_GLES3_COMMON_FILTERS + [include("gles3-pixelformat.txt"),
exclude("gles3-pixelformat-issues.txt")],
- runtime = "10m"),
+ runtime = "1m"),
])
MASTER_GLES31_COMMON_FILTERS = [
surfacetype = "window",
required = True,
filters = MASTER_GLES31_COMMON_FILTERS,
- runtime = "7h30m"),
+ runtime = "1h40m"),
# Rotations
Configuration(name = "rotate-portrait",
MASTER_VULKAN_FILTERS = [
include("vk-master.txt"),
exclude("vk-not-applicable.txt"),
+ exclude("vk-excluded-tests.txt"),
exclude("vk-test-issues.txt"),
- exclude("vk-hw-issues.txt")
]
MASTER_VULKAN_PKG = Package(module = VULKAN_MODULE, configurations = [
Configuration(name = "master",
filters = MASTER_VULKAN_FILTERS,
- runtime = "3h45m"),
+ runtime = "2h29m"),
])
MUSTPASS_LISTS = [
Mustpass(project = CTS_PROJECT, version = "master", packages = [MASTER_EGL_PKG, MASTER_GLES2_PKG, MASTER_GLES3_PKG, MASTER_GLES31_PKG, MASTER_VULKAN_PKG])
]
-BUILD_CONFIG = getBuildConfig(DEFAULT_BUILD_DIR, DEFAULT_TARGET, "Debug")
-
if __name__ == "__main__":
- genMustpassLists(MUSTPASS_LISTS, ANY_GENERATOR, BUILD_CONFIG)
+ genMustpassLists(MUSTPASS_LISTS, ANY_GENERATOR, parseBuildConfigFromCmdLineArgs())