+#include "app/config.hpp"
+#include "app/init.hpp"
+#include "graphics/window.hpp"
+
#include <cppunit/extensions/TestFactoryRegistry.h>
#include <cppunit/ui/text/TestRunner.h>
int main(int, char **) {
+ // need GL context because some tests depend it (by accident)
+ tacos::Config config;
+ tacos::Init init(config);
+ tacos::Window window(100, 100);
+
TestRunner runner;
TestFactoryRegistry ®istry = TestFactoryRegistry::getRegistry();
runner.addTest(registry.makeTest());