Infrastructure to remove GLES2/3 tests from mustpass
authorAlexander Galazin <alexander.galazin@arm.com>
Mon, 20 Mar 2017 11:37:39 +0000 (12:37 +0100)
committerAlexander Galazin <alexander.galazin@arm.com>
Mon, 20 Mar 2017 11:52:21 +0000 (12:52 +0100)
Components: OpenGL
Affects: 3.2.3.x mustpass generation

Change-Id: I753883a765254551317fe0ef9aa46be1dad9e062

external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.3.x/src/gles2-driver-issues.txt [new file with mode: 0644]
external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.3.x/src/gles3-driver-issues.txt [new file with mode: 0644]
external/openglcts/scripts/build_mustpass.py

diff --git a/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.3.x/src/gles2-driver-issues.txt b/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.3.x/src/gles2-driver-issues.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.3.x/src/gles3-driver-issues.txt b/external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.3.x/src/gles3-driver-issues.txt
new file mode 100644 (file)
index 0000000..e69de29
index be32b3c..54fb91f 100644 (file)
@@ -204,6 +204,85 @@ GLCTS_3_2_2_GLES31_PKG                                     = Package(module = ES31CTS_MODULE, configurations = [
                                        filters                 = [include("gles31-master.txt"), include("gles31-pixelformat.txt")]),
        ])
 
+# 3.2.3.x
+GLCTS_3_2_3_GLES2_COMMON_FILTERS       = [
+                               include("gles2-master.txt"),
+                               exclude("gles2-test-issues.txt"),
+                               exclude("gles2-driver-issues.txt")
+               ]
+GLCTS_3_2_3_GLES2_PKG         = Package(module = ES2CTS_MODULE, configurations = [
+        # Master
+        Configuration(name          = "master",
+                    glconfig        = "rgba8888d24s8ms0",
+                    rotation        = "unspecified",
+                    surfacewidth    = "256",
+                    surfaceheight   = "256",
+                    filters         = GLCTS_3_2_3_GLES2_COMMON_FILTERS),
+    ])
+
+GLCTS_3_2_3_GLES3_COMMON_FILTERS               = [
+               include("gles3-master.txt"),
+               exclude("gles3-test-issues.txt"),
+               exclude("gles3-spec-issues.txt"),
+               exclude("gles3-driver-issues.txt")
+       ]
+GLCTS_3_2_3_GLES3_PKG                          = Package(module = ES3CTS_MODULE, configurations = [
+               # Master
+               Configuration(name                      = "master",
+                                       glconfig        = "rgba8888d24s8ms0",
+                                       rotation        = "unspecified",
+                                       surfacewidth    = "256",
+                                       surfaceheight   = "256",
+                                       filters         = GLCTS_3_2_3_GLES3_COMMON_FILTERS),
+               # Rotations
+               Configuration(name                      = "rotate-portrait",
+                                       glconfig        = "rgba8888d24s8ms0",
+                                       rotation        = "0",
+                                       surfacewidth    = "256",
+                                       surfaceheight   = "256",
+                                       os                              = "android",
+                                       filters         = GLCTS_3_2_3_GLES3_COMMON_FILTERS + [include("gles3-rotation.txt")]),
+               Configuration(name                      = "rotate-landscape",
+                                       glconfig        = "rgba8888d24s8ms0",
+                                       rotation        = "90",
+                                       surfacewidth    = "256",
+                                       surfaceheight   = "256",
+                                       os                              = "android",
+                                       filters         = GLCTS_3_2_3_GLES3_COMMON_FILTERS + [include("gles3-rotation.txt")]),
+               Configuration(name                      = "rotate-reverse-portrait",
+                                       glconfig        = "rgba8888d24s8ms0",
+                                       rotation        = "180",
+                                       surfacewidth    = "256",
+                                       surfaceheight   = "256",
+                                       os                              = "android",
+                                       filters         = GLCTS_3_2_3_GLES3_COMMON_FILTERS + [include("gles3-rotation.txt")]),
+               Configuration(name                      = "rotate-reverse-landscape",
+                                       glconfig        = "rgba8888d24s8ms0",
+                                       rotation        = "270",
+                                       surfacewidth    = "256",
+                                       surfaceheight   = "256",
+                                       os                              = "android",
+                                       filters         = GLCTS_3_2_3_GLES3_COMMON_FILTERS + [include("gles3-rotation.txt")]),
+
+               # MSAA
+               Configuration(name                      = "multisample",
+                                       glconfig        = "rgba8888d24s8ms4",
+                                       rotation        = "unspecified",
+                                       surfacewidth    = "256",
+                                       surfaceheight   = "256",
+                                       filters         = GLCTS_3_2_3_GLES3_COMMON_FILTERS + [include("gles3-multisample.txt")]),
+
+               # Pixel format
+               Configuration(name                      = "565-no-depth-no-stencil",
+                                       glconfig        = "rgb565d0s0ms0",
+                                       rotation        = "unspecified",
+                                       surfacewidth    = "256",
+                                       surfaceheight   = "256",
+                                       filters         = GLCTS_3_2_3_GLES3_COMMON_FILTERS + [include("gles3-pixelformat.txt")]),
+
+       ])
+
+# master
 MASTER_EGL_COMMON_FILTERS                      = [include("egl-master.txt"),
                                                                                exclude("egl-test-issues.txt"),
                                                                                exclude("egl-internal-api-tests.txt")]
@@ -703,7 +782,7 @@ MUSTPASS_LISTS                              = [
                                                ]),
 
        Mustpass(project = CTS_AOSP_MP_ES_PROJECT, version = "3.2.3.x", isCurrent=True,
-                       packages = [MASTER_GLES2_PKG, MASTER_GLES3_PKG, MASTER_GLES31_PKG]),
+                       packages = [GLCTS_3_2_3_GLES2_PKG, GLCTS_3_2_3_GLES3_PKG, MASTER_GLES31_PKG]),
 
        Mustpass(project = CTS_AOSP_MP_EGL_PROJECT, version = "3.2.3.x", isCurrent=True,
                        packages = [MASTER_EGL_PKG]),