1 /*****************************************************************************
2  * Copyright (c) 2014-2018 OpenRCT2 developers
3  *
4  * For a complete list of all authors, please refer to contributors.md
5  * Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2
6  *
7  * OpenRCT2 is licensed under the GNU General Public License version 3.
8  *****************************************************************************/
9 
10 // This serves as the entry point when building for MSVC which compiles gtest
11 // directly into the test binary.
12 #ifdef _MSC_VER
13 
14 #    include <gtest/gtest.h>
15 #    include <openrct2/core/Guard.hpp>
16 
main(int argc,char ** argv)17 int main(int argc, char** argv)
18 {
19     // Abort on an assertions so the tests do not hang
20     Guard::SetAssertBehaviour(ASSERT_BEHAVIOUR::ABORT);
21 
22     testing::InitGoogleTest(&argc, argv);
23     return RUN_ALL_TESTS();
24 }
25 
26 #endif
27