+ pos = line.find("Target API:");
+ if(pos!=string::npos)
+ {
+ string api = strip(line.substr(pos+11));
+ if(api=="OpenGL")
+ test_case.target_api = GL::OPENGL;
+ else if(api=="OpenGL ES")
+ test_case.target_api = GL::OPENGL_ES;
+ else if(api=="Vulkan")
+ test_case.target_api = GL::VULKAN;
+ else
+ throw runtime_error("Unknown API "+api);
+ continue;
+ }
+