Merge pull request #9684 from JosJuice/move-unit-tests

UnitTests: Move some unit tests to where they should be
This commit is contained in:
Léo Lam 2021-05-07 14:31:09 +02:00 committed by GitHub
commit aa8ddcfc92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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>