From c4123643b5ae527da3a442de9bbe16d5fa516eff Mon Sep 17 00:00:00 2001 From: Maureen Helm Date: Mon, 25 Jun 2018 13:12:17 -0500 Subject: [PATCH] tests: fp_sharing: Extract x86 configs to separate .conf The SSE and SSE_FP_MATH configs exist only in the x86 architecture, so extract them to a separate prj_x86.conf file for the fp_sharing test. Fixes Kconfig warnings when building the test for frdm_k64f: - warning: attempt to assign the value "y" to the undefined symbol SSE - warning: attempt to assign the value "y" to the undefined symbol SSE_FP_MATH Signed-off-by: Maureen Helm --- tests/kernel/fp_sharing/prj.conf | 2 -- tests/kernel/fp_sharing/prj_x86.conf | 6 ++++++ tests/kernel/fp_sharing/testcase.yaml | 1 + 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 tests/kernel/fp_sharing/prj_x86.conf diff --git a/tests/kernel/fp_sharing/prj.conf b/tests/kernel/fp_sharing/prj.conf index 004a658d552..9352bfd3169 100644 --- a/tests/kernel/fp_sharing/prj.conf +++ b/tests/kernel/fp_sharing/prj.conf @@ -1,6 +1,4 @@ CONFIG_TEST=y CONFIG_FLOAT=y -CONFIG_SSE=y CONFIG_FP_SHARING=y -CONFIG_SSE_FP_MATH=y CONFIG_STDOUT_CONSOLE=y diff --git a/tests/kernel/fp_sharing/prj_x86.conf b/tests/kernel/fp_sharing/prj_x86.conf new file mode 100644 index 00000000000..004a658d552 --- /dev/null +++ b/tests/kernel/fp_sharing/prj_x86.conf @@ -0,0 +1,6 @@ +CONFIG_TEST=y +CONFIG_FLOAT=y +CONFIG_SSE=y +CONFIG_FP_SHARING=y +CONFIG_SSE_FP_MATH=y +CONFIG_STDOUT_CONSOLE=y diff --git a/tests/kernel/fp_sharing/testcase.yaml b/tests/kernel/fp_sharing/testcase.yaml index cea9df670c2..fc414e4179e 100644 --- a/tests/kernel/fp_sharing/testcase.yaml +++ b/tests/kernel/fp_sharing/testcase.yaml @@ -6,6 +6,7 @@ tests: tags: core timeout: 600 kernel.fp_sharing.x86: + extra_args: CONF_FILE=prj_x86.conf platform_whitelist: qemu_x86 slow: true tags: core