mirror of
https://github.com/minetest/minetest.git
synced 2024-07-04 15:05:27 +02:00
Update devtest mod count, add mod.conf
This commit is contained in:
parent
0ce6b3f8c8
commit
31ab21ffd5
2
games/devtest/mods/gltf/mod.conf
Normal file
2
games/devtest/mods/gltf/mod.conf
Normal file
@ -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);
|
ServerModManager sm(m_worlddir);
|
||||||
const auto &mods = sm.getMods();
|
const auto &mods = sm.getMods();
|
||||||
// `ls ./games/devtest/mods | wc -l` + 1 (test mod)
|
// `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)
|
// Ensure we found basenodes mod (part of devtest)
|
||||||
// and test_mod (for testing MINETEST_MOD_PATH).
|
// and test_mod (for testing MINETEST_MOD_PATH).
|
||||||
|
Loading…
Reference in New Issue
Block a user