Skip to content

Commit 57075df

Browse files
tmlemankv2019i
authored andcommitted
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 <tomasz.m.leman@intel.com>
1 parent 045475f commit 57075df

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

test/ztest/unit/math/advanced/functions/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ target_include_directories(app PRIVATE
2222

2323
# Define SOF-specific configurations for unit testing
2424
target_compile_definitions(app PRIVATE
25-
-DCONFIG_SOF_LOG_LEVEL=CONFIG_LOG_DEFAULT_LEVEL
2625
-DCONFIG_ZEPHYR_POSIX=1
2726
-DCONFIG_LIBRARY=1
2827
-DUNIT_TEST=1
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
CONFIG_ZTEST=y
2+
CONFIG_SOF_FULL_ZEPHYR_APPLICATION=n

0 commit comments

Comments
 (0)