mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
45647df349
This adds unit tests for the Wii filesystem now that the filesystem interface is neatly separated from the IPC code. Basic FS functionality is tested, in addition to problematic usages and edge cases that Dolphin used to handle incorrectly (which of course broke emulated software). These tests should make it quite a bit harder to introduce regressions. Issues that are covered by the tests in particular: * Metadata: issue 10234 (though tests are commented out for now because Dolphin doesn't support NAND images yet so it can't track metadata); * EOF seeks/reads: https://github.com/dolphin-emu/dolphin/pull/4942 * Read/write operations from multiple handles: see issue 2917, 5232 and 8702 and https://github.com/dolphin-emu/dolphin/pull/2649
16 lines
479 B
CMake
16 lines
479 B
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
|
|
)
|
|
|
|
add_dolphin_test(ESFormatsTest IOS/ES/FormatsTest.cpp IOS/ES/TestBinaryData.cpp)
|
|
|
|
add_dolphin_test(FileSystemTest IOS/FS/FileSystemTest.cpp)
|