Google Code-In 2014
Task Preview
RaspberryPi: Tests for EGLCopyleft Games Group

Currently there are few tests, both internal in the VideoCore plugin and in PySoy's tests, which check whether the plugin is working properly with RaspberryPi.

Add tests and proper error reporting in libsoy/platforms/videocore for all EGL functions (eg, eglCreateContext, eglCreateWindowSurface, eglMakeCurrent, and eglSwapBuffers).

In PySoy, expose the EGL context and window surface as internal (begin name with "_") properties and write a unittest (in tests/) which ensures they are valid values.

You will need a RaspberryPi computer to work on this task. Using an SD card image for Sprout, start by building libsoy from Mercurial which will allow you to modify and test your changes.

While working on this task you should join and remain in #CopyleftGames on Freenode to get help, feedback, and guidance from mentors and other developers. Code updates which may affect your work are also announced here as they happen.

When you've done, commit your work and post the resulting changeset url to this task.