]> git.sesse.net Git - movit/blobdiff - gtest_sdl_main.cpp
Support different chroma positioning for Cb and Cr. The test is slightly shaky, so...
[movit] / gtest_sdl_main.cpp
index 47d7c679107c093cdda8530ef4d9ce42cee6a71a..4a1c74762445522b7ac02e012008c247db404a00 100644 (file)
@@ -11,5 +11,7 @@ int main(int argc, char **argv) {
        SDL_WM_SetCaption("OpenGL window for unit test", NULL);
 
        testing::InitGoogleTest(&argc, argv);
-       return RUN_ALL_TESTS();
+       int err = RUN_ALL_TESTS();
+       SDL_Quit();
+       exit(err);
 }