Try to ignore files that end in .*Tests.cpp in case they don't get rearranged to the proper folder.
Some checks failed
Emscripten Build / Build_and_Deploy_Web_Build (push) Successful in 7m32s
Emscripten Build / UnitTesting (push) Has been cancelled

This commit is contained in:
AMay 2026-05-03 23:31:00 -05:00
parent 3f7b45d773
commit 6ef2d6ef32
7 changed files with 29 additions and 11 deletions

View File

@ -870,7 +870,6 @@
</SubType>
</ClCompile>
<ClCompile Include="FallEffect.cpp" />
<ClCompile Include="FileTests.cpp" />
<ClCompile Include="FlipCoinEffect.cpp">
<SubType>
</SubType>
@ -1066,7 +1065,6 @@
<SubType>
</SubType>
</ClCompile>
<ClCompile Include="ItemTests.cpp" />
<ClCompile Include="Key.cpp" />
<ClCompile Include="LargeStone.cpp" />
<ClCompile Include="LargeTornado.cpp">
@ -1094,11 +1092,27 @@
</SubType>
</ClCompile>
<ClCompile Include="Spider.cpp" />
<ClCompile Include="tests\BuffTests.cpp" />
<ClCompile Include="tests\EffectTests.cpp" />
<ClCompile Include="tests\EnchantTests.cpp" />
<ClCompile Include="tests\EngineTests.cpp" />
<ClCompile Include="tests\GeometryTests.cpp" />
<ClCompile Include="tests\BuffTests.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release Desktop|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="tests\EffectTests.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release Desktop|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="tests\EnchantTests.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release Desktop|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="tests\EngineTests.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release Desktop|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="tests\FileTests.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release Desktop|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="tests\GeometryTests.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release Desktop|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="tests\ItemTests.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release Desktop|x64'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="ThunderOrb.cpp" />
<ClCompile Include="TileGroup.cpp" />
<ClCompile Include="Menu.cpp" />

View File

@ -1409,10 +1409,10 @@
<ClCompile Include="tests\GeometryTests.cpp">
<Filter>Source Files\Unit Tests</Filter>
</ClCompile>
<ClCompile Include="FileTests.cpp">
<ClCompile Include="tests\FileTests.cpp">
<Filter>Source Files\Unit Tests</Filter>
</ClCompile>
<ClCompile Include="ItemTests.cpp">
<ClCompile Include="tests\ItemTests.cpp">
<Filter>Source Files\Unit Tests</Filter>
</ClCompile>
</ItemGroup>

View File

@ -39,7 +39,7 @@ All rights reserved.
#define VERSION_MAJOR 1
#define VERSION_MINOR 3
#define VERSION_PATCH 0
#define VERSION_BUILD 13499
#define VERSION_BUILD 13505
#define stringify(a) stringify_(a)
#define stringify_(a) #a

View File

@ -7,4 +7,6 @@
}
$_
} |
Out-File $args[0] -encoding ascii -nonewline
Out-File $args[0] -encoding ascii -nonewline
mv *Tests.cpp tests/

View File

@ -106,6 +106,8 @@ if(TEST_ONLY)
"${SOURCE_CXX_SRC_DIR}/tests/*.cpp"
)
list(APPEND SOURCE_CXX_FILES ${SOURCE_CXX_TEST_FILES})
else()
list(FILTER SOURCE_CXX_FILES EXCLUDE REGEX ".*Tests.cpp")
endif()
# Search in the "cmake" directory for additional CMake modules.