cmake_minimum_required(VERSION 4.0) execute_process(COMMAND "${SDK_TESTS}" --no-color RESULT_VARIABLE code OUTPUT_VARIABLE out ERROR_VARIABLE err TIMEOUT 60) message("${out}") if(NOT "${code}" STREQUAL "0" OR NOT out MATCHES "17 tests:") message(FATAL_ERROR "SDK suite must execute all 17 cases and exit zero; got ${code}\n${err}") endif()