Ask Google Test not to use exceptions.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 20 Jan 2013 01:11:53 +0000 (02:11 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 20 Jan 2013 01:11:53 +0000 (02:11 +0100)
Gives us slightly cleaner shutdown on error. Found by Coverity Scan.

gtest_sdl_main.cpp

index 4a1c747..21c923a 100644 (file)
@@ -1,3 +1,5 @@
+#define GTEST_HAS_EXCEPTIONS 0
+
 #include <SDL/SDL.h>
 #include "gtest/gtest.h"