diff options
-rw-r--r-- | zephyr/test/math/CMakeLists.txt | 3 | ||||
l--------- | zephyr/test/math/boards/native_posix.overlay | 1 | ||||
-rw-r--r-- | zephyr/test/math/testcase.yaml | 7 |
3 files changed, 8 insertions, 3 deletions
diff --git a/zephyr/test/math/CMakeLists.txt b/zephyr/test/math/CMakeLists.txt index e90ce4cf8c..c540ece71d 100644 --- a/zephyr/test/math/CMakeLists.txt +++ b/zephyr/test/math/CMakeLists.txt @@ -6,9 +6,6 @@ cmake_minimum_required(VERSION 3.13.1) find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(math) -zephyr_include_directories("${CMAKE_CURRENT_SOURCE_DIR}/include") -zephyr_include_directories("${PLATFORM_EC}/include") - target_sources(app PRIVATE ${PLATFORM_EC}/common/math_util.c) target_sources( diff --git a/zephyr/test/math/boards/native_posix.overlay b/zephyr/test/math/boards/native_posix.overlay new file mode 120000 index 0000000000..7b75ea9967 --- /dev/null +++ b/zephyr/test/math/boards/native_posix.overlay @@ -0,0 +1 @@ +../../../dts/board-overlays/native_posix.dts
\ No newline at end of file diff --git a/zephyr/test/math/testcase.yaml b/zephyr/test/math/testcase.yaml new file mode 100644 index 0000000000..cd33e70553 --- /dev/null +++ b/zephyr/test/math/testcase.yaml @@ -0,0 +1,7 @@ +common: + platform_allow: native_posix +tests: + util.math.fixed_point: + extra_args: OVERLAY_CONFIG=./fixed_point.conf + util.math.floating_point: + extra_args: OVERLAY_CONFIG=./floating_point.conf |