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]
This commit is contained in:
localai-org-maint-bot committed 2026-07-29 09:06:44 +00:00
1 parent bc1965ad0b
commit 7f97c234ac
2 files changed
+1 -1

No files matched your search

+1 -1
View File
@@ -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)