Update devtest mod count, add mod.conf

This commit is contained in:
Lars Mueller 2024-06-08 20:14:28 +02:00
parent 0ce6b3f8c8
commit 31ab21ffd5
2 changed files with 3 additions and 1 deletions

@ -0,0 +1,2 @@
name = gltf
description = Hosts gltf test models, both for the C++ unit tests and for in-game viewing

@ -122,7 +122,7 @@ void TestServerModManager::testGetMods()
ServerModManager sm(m_worlddir);
const auto &mods = sm.getMods();
// `ls ./games/devtest/mods | wc -l` + 1 (test mod)
UASSERTEQ(std::size_t, mods.size(), 31 + 1);
UASSERTEQ(std::size_t, mods.size(), 32 + 1);
// Ensure we found basenodes mod (part of devtest)
// and test_mod (for testing MINETEST_MOD_PATH).