1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-13 01:20:34 +02:00

Simplify library initialization

This commit is contained in:
Ivan Savenko
2025-03-03 17:20:34 +00:00
parent f7305fd1c2
commit 222b73bbcd
8 changed files with 65 additions and 83 deletions

View File

@ -22,8 +22,9 @@
void CVcmiTestConfig::SetUp()
{
preinitDLL(true);
loadDLLClasses(true);
LIBRARY = new GameLibrary;
LIBRARY->initializeFilesystem(false);
LIBRARY->initializeLibrary();
/* TEST_DATA_DIR may be wrong, if yes below test don't run,
find your test data folder in your build and change TEST_DATA_DIR for it*/