From 595820672fb3ee766b6697b1c10d298f98b3d2bb Mon Sep 17 00:00:00 2001 From: Tomasz Leman Date: Mon, 1 Dec 2025 10:56:14 +0100 Subject: [PATCH] test: ztest: fix math/advanced/functions build The math/advanced/functions unit test was merged after the refactor that removed CONFIG_SOF and introduced CONFIG_SOF_FULL_ZEPHYR_APPLICATION. This test was missing the CONFIG_SOF_FULL_ZEPHYR_APPLICATION=n setting required for ztest unit tests to build without pulling in full SOF dependencies. Signed-off-by: Tomasz Leman --- test/ztest/unit/math/advanced/functions/CMakeLists.txt | 1 - test/ztest/unit/math/advanced/functions/prj.conf | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ztest/unit/math/advanced/functions/CMakeLists.txt b/test/ztest/unit/math/advanced/functions/CMakeLists.txt index 368a55959013..04fc940b916b 100644 --- a/test/ztest/unit/math/advanced/functions/CMakeLists.txt +++ b/test/ztest/unit/math/advanced/functions/CMakeLists.txt @@ -22,7 +22,6 @@ target_include_directories(app PRIVATE # Define SOF-specific configurations for unit testing target_compile_definitions(app PRIVATE - -DCONFIG_SOF_LOG_LEVEL=CONFIG_LOG_DEFAULT_LEVEL -DCONFIG_ZEPHYR_POSIX=1 -DCONFIG_LIBRARY=1 -DUNIT_TEST=1 diff --git a/test/ztest/unit/math/advanced/functions/prj.conf b/test/ztest/unit/math/advanced/functions/prj.conf index 9467c2926896..d34c7781cd0a 100644 --- a/test/ztest/unit/math/advanced/functions/prj.conf +++ b/test/ztest/unit/math/advanced/functions/prj.conf @@ -1 +1,2 @@ CONFIG_ZTEST=y +CONFIG_SOF_FULL_ZEPHYR_APPLICATION=n