From 7f97c234acf46decf51dc3635b2b082b8a0588f1 Mon Sep 17 00:00:00 2001 From: localai-org-maint-bot <306269227+localai-org-maint-bot@users.noreply.github.com> Date: Wed, 29 Jul 2026 01:04:58 +0000 Subject: [PATCH] fix(audio-cpp): keep runtime test out of standalone suite The runtime test needs the audio runtime library and is built by its own CMake target. Avoid the generic *_test.cpp discovery contract, which only supports pure standalone translation units. Assisted-by: Codex:gpt-5 [systematic-debugging] --- backend/cpp/audio-cpp/CMakeLists.txt | 2 +- .../cpp/audio-cpp/tests/{runtime_test.cpp => runtime_tests.cpp} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename backend/cpp/audio-cpp/tests/{runtime_test.cpp => runtime_tests.cpp} (100%) diff --git a/backend/cpp/audio-cpp/CMakeLists.txt b/backend/cpp/audio-cpp/CMakeLists.txt index 7bc9e1935..787868210 100644 --- a/backend/cpp/audio-cpp/CMakeLists.txt +++ b/backend/cpp/audio-cpp/CMakeLists.txt @@ -85,7 +85,7 @@ endif() if(AUDIO_CPP_BUILD_TESTS) enable_testing() - add_executable(audio-cpp-runtime-test tests/runtime_test.cpp) + add_executable(audio-cpp-runtime-test tests/runtime_tests.cpp) target_link_libraries(audio-cpp-runtime-test PRIVATE localai_audio_cpp_runtime Threads::Threads) diff --git a/backend/cpp/audio-cpp/tests/runtime_test.cpp b/backend/cpp/audio-cpp/tests/runtime_tests.cpp similarity index 100% rename from backend/cpp/audio-cpp/tests/runtime_test.cpp rename to backend/cpp/audio-cpp/tests/runtime_tests.cpp