X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;ds=sidebyside;f=tst%2Ftest.cpp;fp=tst%2Ftest.cpp;h=a8f5a7e624599845461eb44010e86349b92f6403;hb=57f81dc2a126e77e48e8962a9d6730c59ffddbda;hp=ff1ce710c25c80912d4ab90ed2fd18e61a8d75fd;hpb=2e761a60d1717297b7e308ef1b66e2a81319fdff;p=tacos.git diff --git a/tst/test.cpp b/tst/test.cpp index ff1ce71..a8f5a7e 100644 --- a/tst/test.cpp +++ b/tst/test.cpp @@ -1,3 +1,7 @@ +#include "app/config.hpp" +#include "app/init.hpp" +#include "graphics/window.hpp" + #include #include @@ -6,6 +10,11 @@ using CppUnit::TextUi::TestRunner; 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());