mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
3cb0976367
Before, the file just existed as the source code for HermesBinary.cpp, but we can test that things assemble correctly too (compare DSPTestBinary.cpp and DSPTestText.cpp). A bit of jank is needed due to MSVC limitations (see https://docs.microsoft.com/en-us/cpp/error-messages/compiler-errors-1/compiler-error-c2026?view=msvc-170).
42 lines
1.0 KiB
CMake
42 lines
1.0 KiB
CMake
add_dolphin_test(MMIOTest MMIOTest.cpp)
|
|
add_dolphin_test(PageFaultTest PageFaultTest.cpp)
|
|
add_dolphin_test(CoreTimingTest CoreTimingTest.cpp)
|
|
|
|
add_dolphin_test(DSPAcceleratorTest DSP/DSPAcceleratorTest.cpp)
|
|
add_dolphin_test(DSPAssemblyTest
|
|
DSP/DSPAssemblyTest.cpp
|
|
DSP/DSPTestBinary.cpp
|
|
DSP/DSPTestText.cpp
|
|
DSP/HermesBinary.cpp
|
|
DSP/HermesText.cpp
|
|
)
|
|
|
|
add_dolphin_test(ESFormatsTest IOS/ES/FormatsTest.cpp)
|
|
|
|
add_dolphin_test(FileSystemTest IOS/FS/FileSystemTest.cpp)
|
|
|
|
if(_M_X86)
|
|
add_dolphin_test(PowerPCTest
|
|
PowerPC/DivUtilsTest.cpp
|
|
PowerPC/Jit64Common/ConvertDoubleToSingle.cpp
|
|
PowerPC/Jit64Common/Frsqrte.cpp
|
|
)
|
|
elseif(_M_ARM_64)
|
|
add_dolphin_test(PowerPCTest
|
|
PowerPC/DivUtilsTest.cpp
|
|
PowerPC/JitArm64/ConvertSingleDouble.cpp
|
|
PowerPC/JitArm64/FPRF.cpp
|
|
PowerPC/JitArm64/Fres.cpp
|
|
PowerPC/JitArm64/Frsqrte.cpp
|
|
PowerPC/JitArm64/MovI2R.cpp
|
|
)
|
|
else()
|
|
add_dolphin_test(PowerPCTest
|
|
PowerPC/DivUtilsTest.cpp
|
|
)
|
|
endif()
|
|
|
|
target_sources(PowerPCTest PRIVATE
|
|
PowerPC/TestValues.h
|
|
)
|