Fix cts-runner for KHR-NoContext.*
authorAlexander Galazin <alexander.galazin@arm.com>
Thu, 17 Aug 2017 06:53:31 +0000 (08:53 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Fri, 18 Aug 2017 05:57:56 +0000 (01:57 -0400)
KHR-NoContext.* tests were not properly filtered based on the requested API.

Components: OpenGL

VK-GL-CTS issue: 611

Affects: KHR-NoContext.*

Change-Id: I400e4b80fd5923a63a3d1ee6da3a368366cb6e61

24 files changed:
external/openglcts/data/mustpass/gl/khronos_mustpass_noctx/4.5.5.x/gl30-khr-master.txt [new file with mode: 0644]
external/openglcts/data/mustpass/gl/khronos_mustpass_noctx/4.5.5.x/gl45-khr-master.txt [moved from external/openglcts/data/mustpass/gl/khronos_mustpass_noctx/4.5.5.x/noctx-khr-master.txt with 90% similarity]
external/openglcts/data/mustpass/gl/khronos_mustpass_noctx/4.5.5.x/mustpass.xml
external/openglcts/data/mustpass/gl/khronos_mustpass_noctx/4.5.5.x/src/gl30-khr-master.txt [new file with mode: 0644]
external/openglcts/data/mustpass/gl/khronos_mustpass_noctx/4.5.5.x/src/gl45-khr-master.txt [new file with mode: 0644]
external/openglcts/data/mustpass/gl/khronos_mustpass_noctx/4.5.5.x/src/noctx-khr-master.txt [deleted file]
external/openglcts/data/mustpass/gles/khronos_mustpass_noctx/3.2.4.x/gles2-khr-master.txt [new file with mode: 0644]
external/openglcts/data/mustpass/gles/khronos_mustpass_noctx/3.2.4.x/gles32-khr-master.txt [moved from external/openglcts/data/mustpass/gles/khronos_mustpass_noctx/master/noctx-khr-master.txt with 90% similarity]
external/openglcts/data/mustpass/gles/khronos_mustpass_noctx/3.2.4.x/mustpass.xml
external/openglcts/data/mustpass/gles/khronos_mustpass_noctx/3.2.4.x/src/gles2-khr-master.txt [new file with mode: 0644]
external/openglcts/data/mustpass/gles/khronos_mustpass_noctx/3.2.4.x/src/gles32-khr-master.txt [new file with mode: 0644]
external/openglcts/data/mustpass/gles/khronos_mustpass_noctx/3.2.4.x/src/noctx-khr-master.txt [deleted file]
external/openglcts/data/mustpass/gles/khronos_mustpass_noctx/master/gles2-khr-master.txt [new file with mode: 0644]
external/openglcts/data/mustpass/gles/khronos_mustpass_noctx/master/gles32-khr-master.txt [moved from external/openglcts/data/mustpass/gles/khronos_mustpass_noctx/3.2.4.x/noctx-khr-master.txt with 90% similarity]
external/openglcts/data/mustpass/gles/khronos_mustpass_noctx/master/mustpass.xml
external/openglcts/data/mustpass/gles/khronos_mustpass_noctx/master/src/gles2-khr-master.txt [new file with mode: 0644]
external/openglcts/data/mustpass/gles/khronos_mustpass_noctx/master/src/gles32-khr-master.txt [new file with mode: 0644]
external/openglcts/data/mustpass/gles/khronos_mustpass_noctx/master/src/noctx-khr-master.txt [deleted file]
external/openglcts/modules/runner/glcKhronosMustpassEsNocontext.hpp
external/openglcts/modules/runner/glcKhronosMustpassGlNocontext.hpp
external/openglcts/modules/runner/glcTestRunner.cpp
external/openglcts/scripts/build_caselists.py
external/openglcts/scripts/build_mustpass.py
external/openglcts/scripts/mustpass.py

diff --git a/external/openglcts/data/mustpass/gl/khronos_mustpass_noctx/4.5.5.x/gl30-khr-master.txt b/external/openglcts/data/mustpass/gl/khronos_mustpass_noctx/4.5.5.x/gl30-khr-master.txt
new file mode 100644 (file)
index 0000000..ead6f7c
--- /dev/null
@@ -0,0 +1 @@
+KHR-NoContext.gl30.no_error.create_context
index f61d5a7..cf19eaa 100644 (file)
@@ -18,7 +18,7 @@
  * be lost! Modify the generating script instead.
  */-->
        <TestPackage name="Khronos Mustpass GL NoContext">
-               <Configuration caseListFile="noctx-khr-master.txt" commandLine="--deqp-screen-rotation=unspecified --deqp-surface-width=64 --deqp-surface-height=64 --deqp-base-seed=1 --deqp-watchdog=disable" name="khr-master" os="any" useForFirstEGLConfig="True"/>
-               <Configuration caseListFile="noctx-khr-master.txt" commandLine="--deqp-screen-rotation=unspecified --deqp-surface-width=113 --deqp-surface-height=47 --deqp-base-seed=2 --deqp-watchdog=disable" name="khr-master" os="any" useForFirstEGLConfig="True"/>
+               <Configuration caseListFile="gl30-khr-master.txt" commandLine="--deqp-screen-rotation=unspecified --deqp-surface-width=64 --deqp-surface-height=64 --deqp-base-seed=1 --deqp-watchdog=disable" name="khr-master" os="any" useForFirstEGLConfig="True"/>
+               <Configuration caseListFile="gl45-khr-master.txt" commandLine="--deqp-screen-rotation=unspecified --deqp-surface-width=64 --deqp-surface-height=64 --deqp-base-seed=1 --deqp-watchdog=disable" name="khr-master" os="any" useForFirstEGLConfig="True"/>
        </TestPackage>
 </Mustpass>
diff --git a/external/openglcts/data/mustpass/gl/khronos_mustpass_noctx/4.5.5.x/src/gl30-khr-master.txt b/external/openglcts/data/mustpass/gl/khronos_mustpass_noctx/4.5.5.x/src/gl30-khr-master.txt
new file mode 100644 (file)
index 0000000..415e7ce
--- /dev/null
@@ -0,0 +1 @@
+KHR-NoContext.gl30.*
diff --git a/external/openglcts/data/mustpass/gl/khronos_mustpass_noctx/4.5.5.x/src/gl45-khr-master.txt b/external/openglcts/data/mustpass/gl/khronos_mustpass_noctx/4.5.5.x/src/gl45-khr-master.txt
new file mode 100644 (file)
index 0000000..ff9df88
--- /dev/null
@@ -0,0 +1 @@
+KHR-NoContext.gl45.*
diff --git a/external/openglcts/data/mustpass/gl/khronos_mustpass_noctx/4.5.5.x/src/noctx-khr-master.txt b/external/openglcts/data/mustpass/gl/khronos_mustpass_noctx/4.5.5.x/src/noctx-khr-master.txt
deleted file mode 100644 (file)
index 706eb29..0000000
+++ /dev/null
@@ -1 +0,0 @@
-KHR-NoContext.gl*
diff --git a/external/openglcts/data/mustpass/gles/khronos_mustpass_noctx/3.2.4.x/gles2-khr-master.txt b/external/openglcts/data/mustpass/gles/khronos_mustpass_noctx/3.2.4.x/gles2-khr-master.txt
new file mode 100644 (file)
index 0000000..e363547
--- /dev/null
@@ -0,0 +1 @@
+KHR-NoContext.es2.no_error.create_context
index 56b29ce..5528e4d 100644 (file)
@@ -18,7 +18,7 @@
  * be lost! Modify the generating script instead.
  */-->
        <TestPackage name="Khronos Mustpass ES NoContext">
-               <Configuration caseListFile="noctx-khr-master.txt" commandLine="--deqp-screen-rotation=unspecified --deqp-surface-width=64 --deqp-surface-height=64 --deqp-base-seed=1 --deqp-watchdog=disable" name="khr-master" os="any" useForFirstEGLConfig="True"/>
-               <Configuration caseListFile="noctx-khr-master.txt" commandLine="--deqp-screen-rotation=unspecified --deqp-surface-width=113 --deqp-surface-height=47 --deqp-base-seed=2 --deqp-watchdog=disable" name="khr-master" os="any" useForFirstEGLConfig="True"/>
+               <Configuration caseListFile="gles2-khr-master.txt" commandLine="--deqp-screen-rotation=unspecified --deqp-surface-width=64 --deqp-surface-height=64 --deqp-base-seed=1 --deqp-watchdog=disable" name="khr-master" os="any" useForFirstEGLConfig="True"/>
+               <Configuration caseListFile="gles32-khr-master.txt" commandLine="--deqp-screen-rotation=unspecified --deqp-surface-width=64 --deqp-surface-height=64 --deqp-base-seed=1 --deqp-watchdog=disable" name="khr-master" os="any" useForFirstEGLConfig="True"/>
        </TestPackage>
 </Mustpass>
diff --git a/external/openglcts/data/mustpass/gles/khronos_mustpass_noctx/3.2.4.x/src/gles2-khr-master.txt b/external/openglcts/data/mustpass/gles/khronos_mustpass_noctx/3.2.4.x/src/gles2-khr-master.txt
new file mode 100644 (file)
index 0000000..b794ccb
--- /dev/null
@@ -0,0 +1 @@
+KHR-NoContext.es2.*
diff --git a/external/openglcts/data/mustpass/gles/khronos_mustpass_noctx/3.2.4.x/src/gles32-khr-master.txt b/external/openglcts/data/mustpass/gles/khronos_mustpass_noctx/3.2.4.x/src/gles32-khr-master.txt
new file mode 100644 (file)
index 0000000..ed73a1c
--- /dev/null
@@ -0,0 +1 @@
+KHR-NoContext.es32.*
diff --git a/external/openglcts/data/mustpass/gles/khronos_mustpass_noctx/3.2.4.x/src/noctx-khr-master.txt b/external/openglcts/data/mustpass/gles/khronos_mustpass_noctx/3.2.4.x/src/noctx-khr-master.txt
deleted file mode 100644 (file)
index 8b3a676..0000000
+++ /dev/null
@@ -1 +0,0 @@
-KHR-NoContext.es*
diff --git a/external/openglcts/data/mustpass/gles/khronos_mustpass_noctx/master/gles2-khr-master.txt b/external/openglcts/data/mustpass/gles/khronos_mustpass_noctx/master/gles2-khr-master.txt
new file mode 100644 (file)
index 0000000..e363547
--- /dev/null
@@ -0,0 +1 @@
+KHR-NoContext.es2.no_error.create_context
index 6c41041..5bc5063 100644 (file)
@@ -18,7 +18,7 @@
  * be lost! Modify the generating script instead.
  */-->
        <TestPackage name="Khronos Mustpass ES NoContext">
-               <Configuration caseListFile="noctx-khr-master.txt" commandLine="--deqp-screen-rotation=unspecified --deqp-surface-width=64 --deqp-surface-height=64 --deqp-base-seed=1 --deqp-watchdog=disable" name="khr-master" os="any" useForFirstEGLConfig="True"/>
-               <Configuration caseListFile="noctx-khr-master.txt" commandLine="--deqp-screen-rotation=unspecified --deqp-surface-width=113 --deqp-surface-height=47 --deqp-base-seed=2 --deqp-watchdog=disable" name="khr-master" os="any" useForFirstEGLConfig="True"/>
+               <Configuration caseListFile="gles2-khr-master.txt" commandLine="--deqp-screen-rotation=unspecified --deqp-surface-width=64 --deqp-surface-height=64 --deqp-base-seed=1 --deqp-watchdog=disable" name="khr-master" os="any" useForFirstEGLConfig="True"/>
+               <Configuration caseListFile="gles32-khr-master.txt" commandLine="--deqp-screen-rotation=unspecified --deqp-surface-width=64 --deqp-surface-height=64 --deqp-base-seed=1 --deqp-watchdog=disable" name="khr-master" os="any" useForFirstEGLConfig="True"/>
        </TestPackage>
 </Mustpass>
diff --git a/external/openglcts/data/mustpass/gles/khronos_mustpass_noctx/master/src/gles2-khr-master.txt b/external/openglcts/data/mustpass/gles/khronos_mustpass_noctx/master/src/gles2-khr-master.txt
new file mode 100644 (file)
index 0000000..b794ccb
--- /dev/null
@@ -0,0 +1 @@
+KHR-NoContext.es2.*
diff --git a/external/openglcts/data/mustpass/gles/khronos_mustpass_noctx/master/src/gles32-khr-master.txt b/external/openglcts/data/mustpass/gles/khronos_mustpass_noctx/master/src/gles32-khr-master.txt
new file mode 100644 (file)
index 0000000..ed73a1c
--- /dev/null
@@ -0,0 +1 @@
+KHR-NoContext.es32.*
diff --git a/external/openglcts/data/mustpass/gles/khronos_mustpass_noctx/master/src/noctx-khr-master.txt b/external/openglcts/data/mustpass/gles/khronos_mustpass_noctx/master/src/noctx-khr-master.txt
deleted file mode 100644 (file)
index 8b3a676..0000000
+++ /dev/null
@@ -1 +0,0 @@
-KHR-NoContext.es*
index 4b61afa..b4130de 100644 (file)
@@ -22,8 +22,8 @@
 const char* mustpassDir = "gl_cts/data/mustpass/gles/khronos_mustpass_noctx/3.2.4.x/";
 
 static const RunParams khronos_mustpass_es_nocontext_first_cfg[] = {
-       { glu::ApiType(), "khr-master", DE_NULL, "unspecified", 1, DE_NULL, 64, 64 },
-       { glu::ApiType(), "khr-master", DE_NULL, "unspecified", 2, DE_NULL, 113, 47 },
+       { glu::ApiType::es(2, 0), "khr-master", DE_NULL, "unspecified", 1, DE_NULL, 64, 64 },
+       { glu::ApiType::es(3, 2), "khr-master", DE_NULL, "unspecified", 1, DE_NULL, 64, 64 },
 };
 
 #endif // _GLCKHRONOSMUSTPASSESNOCONTEXT_HPP
index 2a51d14..9939b61 100644 (file)
@@ -22,8 +22,8 @@
 const char* mustpassDir = "gl_cts/data/mustpass/gl/khronos_mustpass_noctx/4.5.5.x/";
 
 static const RunParams khronos_mustpass_gl_nocontext_first_cfg[] = {
-       { glu::ApiType(), "khr-master", DE_NULL, "unspecified", 1, DE_NULL, 64, 64 },
-       { glu::ApiType(), "khr-master", DE_NULL, "unspecified", 2, DE_NULL, 113, 47 },
+       { glu::ApiType::core(3, 0), "khr-master", DE_NULL, "unspecified", 1, DE_NULL, 64, 64 },
+       { glu::ApiType::core(4, 5), "khr-master", DE_NULL, "unspecified", 1, DE_NULL, 64, 64 },
 };
 
 #endif // _GLCKHRONOSMUSTPASSGLNOCONTEXT_HPP
index afbd316..4b94179 100644 (file)
@@ -363,14 +363,17 @@ static void getTestRunsForAOSPES(vector<TestRunParams>& runs, const ConfigList&
        }
 }
 
-static void getTestRunsForNoContext(vector<TestRunParams>& runs, const ConfigList& configs, const RunParams* runParams,
+static void getTestRunsForNoContext(glu::ApiType type, vector<TestRunParams>& runs, const ConfigList& configs, const RunParams* runParams,
                                                                        const int numRunParams, const char* mustpassDir)
 {
        vector<Config>::const_iterator cfgIter = configs.configs.begin();
 
        for (int i = 0; i < numRunParams; ++i)
        {
-               const char* apiName = "noctx";
+               if (!glu::contextSupports(glu::ContextType(type), runParams[i].apiType))
+                               continue;
+
+               const char* apiName = getApiName(runParams[i].apiType);
 
                const int width  = runParams[i].surfaceWidth;
                const int height = runParams[i].surfaceHeight;
@@ -390,10 +393,10 @@ static void getTestRunsForNoContext(vector<TestRunParams>& runs, const ConfigLis
        }
 }
 
-static void getTestRunsForNoContextES(vector<TestRunParams>& runs, const ConfigList& configs)
+static void getTestRunsForNoContextES(glu::ApiType type, vector<TestRunParams>& runs, const ConfigList& configs)
 {
 #include "glcKhronosMustpassEsNocontext.hpp"
-       getTestRunsForNoContext(runs, configs, khronos_mustpass_es_nocontext_first_cfg,
+       getTestRunsForNoContext(type, runs, configs, khronos_mustpass_es_nocontext_first_cfg,
                                                        DE_LENGTH_OF_ARRAY(khronos_mustpass_es_nocontext_first_cfg), mustpassDir);
 }
 
@@ -401,7 +404,7 @@ static void getTestRunsForES(glu::ApiType type, const ConfigList& configs, vecto
 {
        getTestRunsForAOSPEGL(runs, configs);
        getTestRunsForAOSPES(runs, configs, type);
-       getTestRunsForNoContextES(runs, configs);
+       getTestRunsForNoContextES(type, runs, configs);
 
 #include "glcKhronosMustpassEs.hpp"
 
@@ -439,16 +442,16 @@ static void getTestRunsForES(glu::ApiType type, const ConfigList& configs, vecto
        }
 }
 
-static void getTestRunsForNoContextGL(vector<TestRunParams>& runs, const ConfigList& configs)
+static void getTestRunsForNoContextGL(glu::ApiType type, vector<TestRunParams>& runs, const ConfigList& configs)
 {
 #include "glcKhronosMustpassGlNocontext.hpp"
-       getTestRunsForNoContext(runs, configs, khronos_mustpass_gl_nocontext_first_cfg,
+       getTestRunsForNoContext(type, runs, configs, khronos_mustpass_gl_nocontext_first_cfg,
                                                        DE_LENGTH_OF_ARRAY(khronos_mustpass_gl_nocontext_first_cfg), mustpassDir);
 }
 
 static void getTestRunsForGL(glu::ApiType type, const ConfigList& configs, vector<TestRunParams>& runs)
 {
-       getTestRunsForNoContextGL(runs, configs);
+       getTestRunsForNoContextGL(type, runs, configs);
 #include "glcKhronosMustpassGl.hpp"
 
        for (vector<Config>::const_iterator cfgIter = configs.configs.begin(); cfgIter != configs.configs.end(); ++cfgIter)
index 8c30f55..bf84af2 100644 (file)
@@ -48,11 +48,11 @@ MODULES = [
        Module("KHR-GLES2",             "GLES2"),
        Module("KHR-GLES31",    "GLES31"),
        Module("KHR-GLES32",    "GLES32"),
-       Module("KHR-NoContext", "NOCTX"),
+       Module("KHR-NOCTX-ES2", "GLES2"),
+       Module("KHR-NOCTX-ES32","GLES32"),
        Module("GTF-GLES2",             "GLES2" ),
        Module("GTF-GLES3",             "GLES3" ),
        Module("GTF-GLES31",    "GLES31"),
-       Module("KHR-NoContext", "NOCTX"),
        Module("KHR-GL45",              "GL45"),
        Module("KHR-GL44",              "GL44"),
        Module("KHR-GL43",              "GL43"),
@@ -73,6 +73,8 @@ MODULES = [
        Module("GTF-GL32",              "GL32"),
        Module("GTF-GL31",              "GL31"),
        Module("GTF-GL30",              "GL30"),
+       Module("KHR-NOCTX-GL30","GL30"),
+       Module("KHR-NOCTX-GL45","GL45"),
 ]
 GLCTS_BIN_NAME = "glcts"
 GLCTS_DIR_NAME = "external/openglcts/modules/"
@@ -97,7 +99,10 @@ def getModulesPath (buildCfg):
        return os.path.join(buildCfg.getBuildDir(), GLCTS_DIR_NAME)
 
 def getCaseListFileName (module, caseListType):
-       return "%s-cases.%s" % (module.name, caseListType)
+       mname = module.name
+       if mname == "KHR-NOCTX-ES2" or mname == "KHR-NOCTX-ES32" or mname == "KHR-NOCTX-GL30" or mname == "KHR-NOCTX-GL45":
+               mname =  "KHR-NoContext"
+       return "%s-cases.%s" % (mname, caseListType)
 
 def getCaseListPath (buildCfg, module, caseListType):
        workDir = getModulesPath(buildCfg)
index 3a44d56..488d9de 100644 (file)
@@ -88,7 +88,8 @@ 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")
+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")
@@ -851,18 +852,22 @@ GLCTS_GLES32_KHR_PKG_N1CFG                        = Package(module = ES32KHR_MODULE, useforfirsteglco
                                        filters                 = [include("gles32-khr-master.txt")]),
        ])
 
-GLCTS_NOCTX_KHR_PKG_1CFG                       = Package(module = NOCTXKHR_MODULE, configurations = [
+GLCTS_NOCTX_ES2_KHR_PKG                        = Package(module = NOCTX_ES2_KHR_MODULE, configurations = [
                # Master
                Configuration(name                      = "khr-master",
                                        surfacewidth    = "64",
                                        surfaceheight   = "64",
                                        baseseed                = "1",
-                                       filters                 = [include("noctx-khr-master.txt")]),
+                                       filters                 = [include("gles2-khr-master.txt")]),
+       ])
+
+GLCTS_NOCTX_ES32_KHR_PKG               = Package(module = NOCTX_ES32_KHR_MODULE, configurations = [
+               # Master
                Configuration(name                      = "khr-master",
-                                       surfacewidth    = "113",
-                                       surfaceheight   = "47",
-                                       baseseed                = "2",
-                                       filters                 = [include("noctx-khr-master.txt")]),
+                                       surfacewidth    = "64",
+                                       surfaceheight   = "64",
+                                       baseseed                = "1",
+                                       filters                 = [include("gles32-khr-master.txt")]),
        ])
 
 ES_MUSTPASS_LISTS              = [
@@ -931,7 +936,7 @@ ES_MUSTPASS_LISTS           = [
 
 
        Mustpass(project = CTS_KHR_MP_NOCTX_ES_PROJECT, version = "3.2.4.x", isCurrent=True,
-                       packages = [GLCTS_NOCTX_KHR_PKG_1CFG]),
+                       packages = [GLCTS_NOCTX_ES2_KHR_PKG, GLCTS_NOCTX_ES32_KHR_PKG]),
 
        Mustpass(project = CTS_AOSP_MP_ES_PROJECT, version = "3.2.4.x", isCurrent=True,
                        packages = [GLCTS_3_2_3_GLES2_PKG, GLCTS_3_2_3_GLES3_PKG, GLCTS_3_2_3_GLES31_PKG]),
@@ -953,7 +958,7 @@ ES_MUSTPASS_LISTS           = [
                                                ]),
 
        Mustpass(project = CTS_KHR_MP_NOCTX_ES_PROJECT, version = "master", isCurrent=False,
-                       packages = [GLCTS_NOCTX_KHR_PKG_1CFG]),
+                       packages = [GLCTS_NOCTX_ES2_KHR_PKG, GLCTS_NOCTX_ES32_KHR_PKG]),
 
        Mustpass(project = CTS_AOSP_MP_ES_PROJECT, version = "master", isCurrent=False,
                        packages = [MASTER_GLES2_PKG, MASTER_GLES3_PKG, MASTER_GLES31_PKG]),
@@ -1004,6 +1009,27 @@ GL_MODULES                                                       = OrderedDict([
                        ('GTF-GL30',            ['gtf-master',  [include('gl30-gtf-master.txt')]])
                ])
 
+NOCTX_GL30_KHR_MODULE                  = getModuleByName("KHR-NOCTX-GL30")
+NOCTX_GL45_KHR_MODULE                  = getModuleByName("KHR-NOCTX-GL45")
+
+GLCTS_NOCTX_GL30_KHR_PKG                       = Package(module = NOCTX_GL30_KHR_MODULE, configurations = [
+               # Master
+               Configuration(name                      = "khr-master",
+                                       surfacewidth    = "64",
+                                       surfaceheight   = "64",
+                                       baseseed                = "1",
+                                       filters                 = [include("gl30-khr-master.txt")]),
+       ])
+
+GLCTS_NOCTX_GL45_KHR_PKG                       = Package(module = NOCTX_GL45_KHR_MODULE, configurations = [
+               # Master
+               Configuration(name                      = "khr-master",
+                                       surfacewidth    = "64",
+                                       surfaceheight   = "64",
+                                       baseseed                = "1",
+                                       filters                 = [include("gl45-khr-master.txt")]),
+       ])
+
 def generateGLMustpass():
                gl_packages = []
                for packageName in GL_MODULES:
@@ -1031,7 +1057,7 @@ def generateGLMustpass():
                        gl_packages.append(pkg1)
 
                mustpass = [Mustpass(project = GL_CTS_KHR_MP_PROJECT, version = "4.5.5.x", isCurrent=True, packages = gl_packages),
-                                       Mustpass(project = GL_CTS_NOCTX_PROJECT, version = "4.5.5.x", isCurrent=True, packages = [GLCTS_NOCTX_KHR_PKG_1CFG]),
+                                       Mustpass(project = GL_CTS_NOCTX_PROJECT, version = "4.5.5.x", isCurrent=True, packages = [GLCTS_NOCTX_GL30_KHR_PKG, GLCTS_NOCTX_GL45_KHR_PKG]),
                                        ]
                return mustpass
 
index c8292c8..c73b82d 100644 (file)
@@ -285,7 +285,7 @@ def getApiType(apiName):
                return "glu::ApiType::core(3, 1)"
        if apiName == "GL30":
                return "glu::ApiType::core(3, 0)"
-       if apiName == "EGL" or apiName == "NOCTX":
+       if apiName == "EGL":
                return "glu::ApiType()"
 
        raise Exception("Unknown API %s" % apiName)