summaryrefslogtreecommitdiff
path: root/indra/test/test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/test/test.cpp')
-rw-r--r--indra/test/test.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/test/test.cpp b/indra/test/test.cpp
index c9e985c914..e7ba8e33b8 100644
--- a/indra/test/test.cpp
+++ b/indra/test/test.cpp
@@ -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);