UnitTests: Move some unit tests to where they should be

Two unit tests were in the root UnitTests folder
and were not being built when using CMake.
This commit is contained in:
JosJuice 2021-05-02 18:03:29 +02:00
parent ade9d6c954
commit 1f6bb06f2c
5 changed files with 9 additions and 2 deletions

View File

@ -7,6 +7,7 @@ add_dolphin_test(CommonFuncsTest CommonFuncsTest.cpp)
add_dolphin_test(CryptoEcTest Crypto/EcTest.cpp) add_dolphin_test(CryptoEcTest Crypto/EcTest.cpp)
add_dolphin_test(EnumFormatterTest EnumFormatterTest.cpp) add_dolphin_test(EnumFormatterTest EnumFormatterTest.cpp)
add_dolphin_test(EventTest EventTest.cpp) add_dolphin_test(EventTest EventTest.cpp)
add_dolphin_test(FileUtilTest FileUtilTest.cpp)
add_dolphin_test(FixedSizeQueueTest FixedSizeQueueTest.cpp) add_dolphin_test(FixedSizeQueueTest FixedSizeQueueTest.cpp)
add_dolphin_test(FlagTest FlagTest.cpp) add_dolphin_test(FlagTest FlagTest.cpp)
add_dolphin_test(FloatUtilsTest FloatUtilsTest.cpp) add_dolphin_test(FloatUtilsTest FloatUtilsTest.cpp)

View File

@ -16,12 +16,18 @@ add_dolphin_test(FileSystemTest IOS/FS/FileSystemTest.cpp)
if(_M_X86) if(_M_X86)
add_dolphin_test(PowerPCTest add_dolphin_test(PowerPCTest
PowerPC/DivUtilsTest.cpp
PowerPC/Jit64Common/ConvertDoubleToSingle.cpp PowerPC/Jit64Common/ConvertDoubleToSingle.cpp
PowerPC/Jit64Common/Frsqrte.cpp PowerPC/Jit64Common/Frsqrte.cpp
) )
elseif(_M_ARM_64) elseif(_M_ARM_64)
add_dolphin_test(PowerPCTest add_dolphin_test(PowerPCTest
PowerPC/DivUtilsTest.cpp
PowerPC/JitArm64/ConvertSingleDouble.cpp PowerPC/JitArm64/ConvertSingleDouble.cpp
PowerPC/JitArm64/MovI2R.cpp PowerPC/JitArm64/MovI2R.cpp
) )
else()
add_dolphin_test(PowerPCTest
PowerPC/DivUtilsTest.cpp
)
endif() endif()

View File

@ -51,6 +51,7 @@
<ClCompile Include="Common\Crypto\EcTest.cpp" /> <ClCompile Include="Common\Crypto\EcTest.cpp" />
<ClCompile Include="Common\EnumFormatterTest.cpp" /> <ClCompile Include="Common\EnumFormatterTest.cpp" />
<ClCompile Include="Common\EventTest.cpp" /> <ClCompile Include="Common\EventTest.cpp" />
<ClCompile Include="Common\FileUtilTest.cpp" />
<ClCompile Include="Common\FixedSizeQueueTest.cpp" /> <ClCompile Include="Common\FixedSizeQueueTest.cpp" />
<ClCompile Include="Common\FlagTest.cpp" /> <ClCompile Include="Common\FlagTest.cpp" />
<ClCompile Include="Common\FloatUtilsTest.cpp" /> <ClCompile Include="Common\FloatUtilsTest.cpp" />
@ -69,8 +70,7 @@
<ClCompile Include="Core\IOS\FS\FileSystemTest.cpp" /> <ClCompile Include="Core\IOS\FS\FileSystemTest.cpp" />
<ClCompile Include="Core\MMIOTest.cpp" /> <ClCompile Include="Core\MMIOTest.cpp" />
<ClCompile Include="Core\PageFaultTest.cpp" /> <ClCompile Include="Core\PageFaultTest.cpp" />
<ClCompile Include="DivUtilsTest.cpp" /> <ClCompile Include="Core\PowerPC\DivUtilsTest.cpp" />
<ClCompile Include="FileUtil.cpp" />
<ClCompile Include="VideoCommon\VertexLoaderTest.cpp" /> <ClCompile Include="VideoCommon\VertexLoaderTest.cpp" />
<ClCompile Include="StubHost.cpp" /> <ClCompile Include="StubHost.cpp" />
</ItemGroup> </ItemGroup>