From 309b5cdd1d92fdfe14d2b3d065a00980841a5c98 Mon Sep 17 00:00:00 2001 From: Matthew Stanley <1379tech@gmail.com> Date: Sat, 17 Oct 2026 13:18:56 -0700 Subject: [PATCH] Recognize the standalone diagnostics test registrations --- runtime/check_test_registration.cmake | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/runtime/check_test_registration.cmake b/runtime/check_test_registration.cmake index 943c9573..d3868cbe 100644 --- a/runtime/check_test_registration.cmake +++ b/runtime/check_test_registration.cmake @@ -25,14 +25,13 @@ # # HOW IT WORKS # ------------ -# The two projects here (recompiler/ and runtime/) are separate project()s with -# separate BUILD_TESTING gates, and runtime/ additionally needs a generated BIOS +# The recompiler, runtime and standalone playtest diagnostics projects have +# separate test gates, and runtime/ additionally needs a generated BIOS # to configure — so there is no single tree in which CMake can see every # registered target. Rather than force them together (which would make the -# BIOS-free recompiler tree unconfigurable for newcomers), this reads both +# BIOS-free recompiler tree unconfigurable for newcomers), this reads their # CMakeLists.txt files as TEXT and compares the test files they mention against -# the test files on disk. That works identically from either project, so both -# call it and each independently catches an orphan in the other. +# the test files on disk. The runtime and recompiler call it independently. # # Usage: call at the END of a CMakeLists.txt. # include(${CMAKE_CURRENT_SOURCE_DIR}/check_test_registration.cmake) @@ -54,7 +53,8 @@ function(psxrecomp_check_all_tests_registered) # ---- what the build systems say ------------------------------------- set(_declared "") foreach(_cml "${_root}/runtime/CMakeLists.txt" - "${_root}/recompiler/CMakeLists.txt") + "${_root}/recompiler/CMakeLists.txt" + "${_root}/runtime/tests/playtest_diagnostics/CMakeLists.txt") if(NOT EXISTS "${_cml}") continue() endif()