The probe printed the ring's length only. StarOS's EXP-003 images put lines in the ring that REV_TRACE has no room for (the MEM2 monitor, the measurements), so under Dolphin nothing showed them. After the record's summary, --sbr1-record now prints the ring's text between "SBR1 RING BEGIN" and "SBR1 RING END" on stderr, as StarOS's Broadway loader prints it over the Gecko on the console: at most the ring's 4032 bytes, a byte outside printable ASCII and newline, and the backslash, written \xHH. The formatting is in ProbeRing.h, tested by StarletProbeRingTest. Co-Authored-By: Claude Opus 5.5 <[email protected]>
70 lines
2.8 KiB
CMake
70 lines
2.8 KiB
CMake
add_dolphin_test(MMIOTest MMIOTest.cpp)
|
|
add_dolphin_test(PageFaultTest PageFaultTest.cpp)
|
|
add_dolphin_test(CoreTimingTest CoreTimingTest.cpp)
|
|
add_dolphin_test(PatchAllowlistTest PatchAllowlistTest.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(StarletARMCoreTest IOS/Starlet/ARMCoreTest.cpp)
|
|
add_dolphin_test(StarletBootstrapELFTest IOS/Starlet/BootstrapELFTest.cpp)
|
|
# StarletBootstrapProbe's StarOS panic check (Tools/StarletBootstrapProbe/StarOSPanicCheck.h).
|
|
add_dolphin_test(StarletProbePanicCheckTest IOS/Starlet/ProbePanicCheckTest.cpp)
|
|
target_include_directories(StarletProbePanicCheckTest PRIVATE ${CMAKE_SOURCE_DIR}/Tools/StarletBootstrapProbe)
|
|
# StarletBootstrapProbe's --cycles budget (Tools/StarletBootstrapProbe/ProbeBudget.h).
|
|
add_dolphin_test(StarletProbeBudgetTest IOS/Starlet/ProbeBudgetTest.cpp)
|
|
target_include_directories(StarletProbeBudgetTest PRIVATE ${CMAKE_SOURCE_DIR}/Tools/StarletBootstrapProbe)
|
|
# StarletBootstrapProbe's SBR1 ring text (Tools/StarletBootstrapProbe/ProbeRing.h).
|
|
add_dolphin_test(StarletProbeRingTest IOS/Starlet/ProbeRingTest.cpp)
|
|
target_include_directories(StarletProbeRingTest PRIVATE ${CMAKE_SOURCE_DIR}/Tools/StarletBootstrapProbe)
|
|
add_dolphin_test(StarletDMATest IOS/Starlet/DMATest.cpp)
|
|
add_dolphin_test(StarletSRAMReadTest IOS/Starlet/SRAMReadTest.cpp)
|
|
add_dolphin_test(StarletSRAMWriteTest IOS/Starlet/SRAMWriteTest.cpp)
|
|
add_dolphin_test(StarletNANDJournalTest IOS/Starlet/NANDJournalTest.cpp)
|
|
add_dolphin_test(StarletPairingTest IOS/Starlet/PairingTest.cpp)
|
|
add_dolphin_test(StarletEthernetTest IOS/Starlet/AX88772Test.cpp)
|
|
target_include_directories(StarletEthernetTest PRIVATE ${PROJECT_SOURCE_DIR}/Externals/libslirp/include)
|
|
|
|
add_dolphin_test(FileSystemTest IOS/FS/FileSystemTest.cpp)
|
|
|
|
add_dolphin_test(SkylandersTest IOS/USB/SkylandersTest.cpp)
|
|
|
|
if(_M_X86_64)
|
|
add_dolphin_test(PowerPCTest
|
|
PowerPC/DivUtilsTest.cpp
|
|
PowerPC/PageTableHostMappingTest.cpp
|
|
PowerPC/Jit64Common/ConvertDoubleToSingle.cpp
|
|
PowerPC/Jit64Common/DCache.cpp
|
|
PowerPC/Jit64Common/Fres.cpp
|
|
PowerPC/Jit64Common/Frsqrte.cpp
|
|
)
|
|
elseif(_M_ARM_64)
|
|
add_dolphin_test(PowerPCTest
|
|
PowerPC/DivUtilsTest.cpp
|
|
PowerPC/PageTableHostMappingTest.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
|
|
PowerPC/PageTableHostMappingTest.cpp
|
|
)
|
|
endif()
|
|
|
|
target_sources(PowerPCTest PRIVATE
|
|
PowerPC/TestValues.h
|
|
StubJit.h
|
|
)
|