From 276794b0d73b2fea2dc00a04281d12187c2cb751 Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Thu, 15 Jun 2017 13:00:32 -0500 Subject: [PATCH] tests: benchmarks: footprint: really enable floating point on arm Update the arm.conf to enable CONFIG_FLOAT for the float test and use a filter on that so we only run/build the test on SoCs/boards that support floating point hardware. Signed-off-by: Kumar Gala --- tests/benchmarks/footprint/float/arm.conf | 2 ++ tests/benchmarks/footprint/testcase.ini | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/benchmarks/footprint/float/arm.conf b/tests/benchmarks/footprint/float/arm.conf index 76679ff2b24..e87c02f66af 100644 --- a/tests/benchmarks/footprint/float/arm.conf +++ b/tests/benchmarks/footprint/float/arm.conf @@ -10,3 +10,5 @@ CONFIG_HEAP_MEM_POOL_SIZE=256 CONFIG_SYS_POWER_MANAGEMENT=y CONFIG_THREAD_CUSTOM_DATA=y CONFIG_NUM_IRQS=43 +CONFIG_FLOAT=y +CONFIG_FP_SHARING=y diff --git a/tests/benchmarks/footprint/testcase.ini b/tests/benchmarks/footprint/testcase.ini index 5053d20edd5..c5491510ac8 100644 --- a/tests/benchmarks/footprint/testcase.ini +++ b/tests/benchmarks/footprint/testcase.ini @@ -27,4 +27,4 @@ extra_args = TEST=float build_only = true arch_whitelist = x86 arm platform_exclude = tinytile -filter = not CONFIG_CPU_MINUTEIA +filter = CONFIG_FLOAT