+static void getTestRunsForNoContext(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";
+
+ const int width = runParams[i].surfaceWidth;
+ const int height = runParams[i].surfaceHeight;
+ const int seed = runParams[i].baseSeed;
+
+ TestRunParams params;
+ params.logFilename = getLogFileName(apiName, runParams[i].configName, 1, i, width, height, seed);
+
+ getBaseOptions(params.args, mustpassDir, apiName, runParams[i].configName, runParams[i].screenRotation, width,
+ height);
+
+ params.args.push_back(string("--deqp-base-seed=") + de::toString(seed));
+
+ appendConfigArgs(*cfgIter, params.args, runParams[i].fboConfig);
+
+ runs.push_back(params);
+ }
+}
+
+static void getTestRunsForNoContextES(vector<TestRunParams>& runs, const ConfigList& configs)
+{
+#include "glcKhronosMustpassEsNocontext.hpp"
+ getTestRunsForNoContext(runs, configs, khronos_mustpass_es_nocontext_first_cfg,
+ DE_LENGTH_OF_ARRAY(khronos_mustpass_es_nocontext_first_cfg), mustpassDir);
+}
+