mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-07-01 09:07:55 -05:00
chore: detect structs that differ on different architectures
* and exclude them from assetstructtests
This commit is contained in:
@ -37,11 +37,13 @@ namespace
|
||||
LINE("{")
|
||||
m_intendation++;
|
||||
|
||||
TestMethod(m_env.m_asset);
|
||||
if (m_env.m_asset->m_has_matching_cross_platform_structure)
|
||||
TestMethod(m_env.m_asset);
|
||||
|
||||
for (auto* structure : m_env.m_used_structures)
|
||||
{
|
||||
StructureComputations computations(structure->m_info);
|
||||
if (!structure->m_info->m_definition->m_anonymous && !computations.IsAsset())
|
||||
if (!structure->m_info->m_definition->m_anonymous && !computations.IsAsset() && structure->m_info->m_has_matching_cross_platform_structure)
|
||||
TestMethod(structure->m_info);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user