mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-06 17:41:04 +00:00
The root issue of the unit test failure is that all directories that are found in the mod search are counted as mods, even if they are detected to be invalid as such by the parser. For example, the presence of an init.lua file is required, and the parser will return false if one is not found. This return value was completely ignored. Simply counting the mod conditionally on the parsing success makes the modserver tests pass on MSVC. |
||
---|---|---|
.. | ||
common | ||
cpp_api | ||
lua_api | ||
CMakeLists.txt | ||
scripting_client.cpp | ||
scripting_client.h | ||
scripting_emerge.cpp | ||
scripting_emerge.h | ||
scripting_mainmenu.cpp | ||
scripting_mainmenu.h | ||
scripting_pause_menu.cpp | ||
scripting_pause_menu.h | ||
scripting_server.cpp | ||
scripting_server.h |