#ifdef'd out gmock and gtest for LL_WINDOWS. Does not appear to be needed and breaks the build.

meow-7.2.2
Steve Linden 2009-09-10 15:36:49 -07:00
parent b253069f7e
commit 48328db339
1 changed files with 4 additions and 0 deletions

View File

@ -54,8 +54,10 @@
# include "ctype_workaround.h"
#endif
#ifndef LL_WINDOWS
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#endif
namespace tut
{
@ -243,7 +245,9 @@ int main(int argc, char **argv)
{
// The following line must be executed to initialize Google Mock
// (and Google Test) before running the tests.
#ifndef LL_WINDOWS
::testing::InitGoogleMock(&argc, argv);
#endif
LLError::initForApplication(".");
LLError::setFatalFunction(wouldHaveCrashed);
LLError::setDefaultLevel(LLError::LEVEL_ERROR);