mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-26 08:41:13 +02:00
ad2c429d8f
* Convert TestConfig to proper test environment. * Copy test data to build directory. * Get test recognized by ctest, but disable gtest discovery. Allowing ctest to run each test individually isn't currently practical because it is 50 times slower.
21 lines
483 B
C++
21 lines
483 B
C++
/*
|
|
* main.cpp, part of VCMI engine
|
|
*
|
|
* Authors: listed in file AUTHORS in main folder
|
|
*
|
|
* License: GNU General Public License v2.0 or later
|
|
* Full text of license available in license.txt file, in main folder
|
|
*
|
|
*/
|
|
|
|
#include "StdInc.h"
|
|
#include "CVcmiTestConfig.h"
|
|
#include "../lib/filesystem/CMemoryBuffer.h"
|
|
|
|
int main(int argc, char * argv[])
|
|
{
|
|
::testing::InitGoogleTest(&argc, argv);
|
|
::testing::AddGlobalTestEnvironment(new CVcmiTestConfig());
|
|
return RUN_ALL_TESTS();
|
|
}
|