From 1d048df553ecd765001e62d2ccc19fcd8786d78e Mon Sep 17 00:00:00 2001 From: Peter Bigot Date: Mon, 16 Nov 2020 09:11:30 -0600 Subject: [PATCH] tests: add FP formatting to all tests that require it Tests that include floating-point format specifications may need cbprintf FP support. Make sure it's available. Signed-off-by: Peter Bigot --- tests/benchmarks/app_kernel/prj.conf | 1 + tests/kernel/fpu_sharing/generic/prj.conf | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/benchmarks/app_kernel/prj.conf b/tests/benchmarks/app_kernel/prj.conf index 4145870cd4a..de9082438d5 100644 --- a/tests/benchmarks/app_kernel/prj.conf +++ b/tests/benchmarks/app_kernel/prj.conf @@ -12,3 +12,4 @@ CONFIG_FORCE_NO_ASSERT=y # Disable HW Stack Protection (see #28664) CONFIG_TEST_HW_STACK_PROTECTION=n CONFIG_HW_STACK_PROTECTION=n +CONFIG_CBPRINTF_FP_SUPPORT=y diff --git a/tests/kernel/fpu_sharing/generic/prj.conf b/tests/kernel/fpu_sharing/generic/prj.conf index aec34b14e69..131bda8302a 100644 --- a/tests/kernel/fpu_sharing/generic/prj.conf +++ b/tests/kernel/fpu_sharing/generic/prj.conf @@ -2,3 +2,4 @@ CONFIG_ZTEST=y CONFIG_FPU=y CONFIG_FPU_SHARING=y CONFIG_STDOUT_CONSOLE=y +CONFIG_CBPRINTF_FP_SUPPORT=y