1
0
forked from mirrors/0ad

Enable test loading all templates

The test takes about 0.5s in release build and about 2s in debug build,
hardly qualifying as slow. As such enable it.

About the noise, it's of little interest anyway so don't spam.

Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
This commit is contained in:
Ralph Sennhauser
2025-10-31 19:43:38 +01:00
parent 83dba854e5
commit 0fe18e1d84
@@ -247,7 +247,7 @@ public:
}
// This just attempts loading every public entity, to check there's no validation errors
void DISABLED_test_load_all() // disabled since it's a bit slow and noisy
void test_load_all()
{
CXeromycesEngine xeromycesEngine;
CTerrain dummy;
@@ -262,7 +262,6 @@ public:
for (size_t i = 0; i < templates.size(); ++i)
{
std::string name = templates[i];
printf("# %s\n", name.c_str());
const CParamNode* p = cmpTemplateManager->GetTemplate(name);
TS_ASSERT(p != NULL);
}