From 96c7f6ab75a4055a292d5fcd52d413d3a8ba692f Mon Sep 17 00:00:00 2001 From: Stephanos Ioannidis Date: Sun, 22 Aug 2021 23:39:44 +0900 Subject: [PATCH] tests: lib: cmsis_dsp: Disable testing on mps3_an547 This commit disables running the CMSIS-DSP tests on the mps3_an547 board because the QEMU, which is default emulation platform for it, does not currently support the emulation of the MVE instructions. Refer to the issue #37694 for more details. Revert this commit once QEMU 6.2 is released and integrated into the Zephyr SDK. Signed-off-by: Stephanos Ioannidis --- tests/benchmarks/cmsis_dsp/basicmath/testcase.yaml | 4 ++++ tests/lib/cmsis_dsp/basicmath/testcase.yaml | 4 ++++ tests/lib/cmsis_dsp/bayes/testcase.yaml | 4 ++++ tests/lib/cmsis_dsp/complexmath/testcase.yaml | 4 ++++ tests/lib/cmsis_dsp/distance/testcase.yaml | 4 ++++ tests/lib/cmsis_dsp/fastmath/testcase.yaml | 4 ++++ tests/lib/cmsis_dsp/filtering/testcase.yaml | 2 ++ tests/lib/cmsis_dsp/interpolation/testcase.yaml | 4 ++++ tests/lib/cmsis_dsp/matrix/testcase.yaml | 4 ++++ tests/lib/cmsis_dsp/quaternionmath/testcase.yaml | 4 ++++ tests/lib/cmsis_dsp/statistics/testcase.yaml | 4 ++++ tests/lib/cmsis_dsp/support/testcase.yaml | 4 ++++ tests/lib/cmsis_dsp/svm/testcase.yaml | 4 ++++ tests/lib/cmsis_dsp/transform/testcase.yaml | 4 ++++ 14 files changed, 54 insertions(+) diff --git a/tests/benchmarks/cmsis_dsp/basicmath/testcase.yaml b/tests/benchmarks/cmsis_dsp/basicmath/testcase.yaml index 2740c1c2616..66070cfd8d9 100644 --- a/tests/benchmarks/cmsis_dsp/basicmath/testcase.yaml +++ b/tests/benchmarks/cmsis_dsp/basicmath/testcase.yaml @@ -1,3 +1,7 @@ +common: + # TODO: Remove when QEMU 6.2 is released with MVE emulation (see #37694). + platform_exclude: mps3_an547 + tests: benchmark.cmsis_dsp.basicmath: filter: (CONFIG_CPU_CORTEX_R or CONFIG_CPU_CORTEX_M) and TOOLCHAIN_HAS_NEWLIB == 1 diff --git a/tests/lib/cmsis_dsp/basicmath/testcase.yaml b/tests/lib/cmsis_dsp/basicmath/testcase.yaml index 3a1f814dc47..bc41ee1428b 100644 --- a/tests/lib/cmsis_dsp/basicmath/testcase.yaml +++ b/tests/lib/cmsis_dsp/basicmath/testcase.yaml @@ -1,3 +1,7 @@ +common: + # TODO: Remove when QEMU 6.2 is released with MVE emulation (see #37694). + platform_exclude: mps3_an547 + tests: libraries.cmsis_dsp.basicmath: filter: ((CONFIG_CPU_CORTEX_R or CONFIG_CPU_CORTEX_M) and TOOLCHAIN_HAS_NEWLIB == 1) or CONFIG_ARCH_POSIX diff --git a/tests/lib/cmsis_dsp/bayes/testcase.yaml b/tests/lib/cmsis_dsp/bayes/testcase.yaml index 2a462310866..3a1d3411bce 100644 --- a/tests/lib/cmsis_dsp/bayes/testcase.yaml +++ b/tests/lib/cmsis_dsp/bayes/testcase.yaml @@ -1,3 +1,7 @@ +common: + # TODO: Remove when QEMU 6.2 is released with MVE emulation (see #37694). + platform_exclude: mps3_an547 + tests: libraries.cmsis_dsp.bayes: filter: ((CONFIG_CPU_CORTEX_R or CONFIG_CPU_CORTEX_M) and TOOLCHAIN_HAS_NEWLIB == 1) or CONFIG_ARCH_POSIX diff --git a/tests/lib/cmsis_dsp/complexmath/testcase.yaml b/tests/lib/cmsis_dsp/complexmath/testcase.yaml index 4a3481f9556..5908768392b 100644 --- a/tests/lib/cmsis_dsp/complexmath/testcase.yaml +++ b/tests/lib/cmsis_dsp/complexmath/testcase.yaml @@ -1,3 +1,7 @@ +common: + # TODO: Remove when QEMU 6.2 is released with MVE emulation (see #37694). + platform_exclude: mps3_an547 + tests: libraries.cmsis_dsp.complexmath: filter: ((CONFIG_CPU_CORTEX_R or CONFIG_CPU_CORTEX_M) and TOOLCHAIN_HAS_NEWLIB == 1) or CONFIG_ARCH_POSIX diff --git a/tests/lib/cmsis_dsp/distance/testcase.yaml b/tests/lib/cmsis_dsp/distance/testcase.yaml index 2f28fe0807d..f7d24bcdad0 100644 --- a/tests/lib/cmsis_dsp/distance/testcase.yaml +++ b/tests/lib/cmsis_dsp/distance/testcase.yaml @@ -1,3 +1,7 @@ +common: + # TODO: Remove when QEMU 6.2 is released with MVE emulation (see #37694). + platform_exclude: mps3_an547 + tests: libraries.cmsis_dsp.distance: filter: ((CONFIG_CPU_CORTEX_R or CONFIG_CPU_CORTEX_M) and TOOLCHAIN_HAS_NEWLIB == 1) or CONFIG_ARCH_POSIX diff --git a/tests/lib/cmsis_dsp/fastmath/testcase.yaml b/tests/lib/cmsis_dsp/fastmath/testcase.yaml index ce754aa6b60..3a1502f9182 100644 --- a/tests/lib/cmsis_dsp/fastmath/testcase.yaml +++ b/tests/lib/cmsis_dsp/fastmath/testcase.yaml @@ -1,3 +1,7 @@ +common: + # TODO: Remove when QEMU 6.2 is released with MVE emulation (see #37694). + platform_exclude: mps3_an547 + tests: libraries.cmsis_dsp.fastmath: filter: ((CONFIG_CPU_CORTEX_R or CONFIG_CPU_CORTEX_M) and TOOLCHAIN_HAS_NEWLIB == 1) or CONFIG_ARCH_POSIX diff --git a/tests/lib/cmsis_dsp/filtering/testcase.yaml b/tests/lib/cmsis_dsp/filtering/testcase.yaml index acf2afaf083..a9a2280eb28 100644 --- a/tests/lib/cmsis_dsp/filtering/testcase.yaml +++ b/tests/lib/cmsis_dsp/filtering/testcase.yaml @@ -1,5 +1,7 @@ common: toolchain_exclude: llvm + # TODO: Remove when QEMU 6.2 is released with MVE emulation (see #37694). + platform_exclude: mps3_an547 tests: libraries.cmsis_dsp.filtering: diff --git a/tests/lib/cmsis_dsp/interpolation/testcase.yaml b/tests/lib/cmsis_dsp/interpolation/testcase.yaml index 6a6a29a96ff..d08d8d3289b 100644 --- a/tests/lib/cmsis_dsp/interpolation/testcase.yaml +++ b/tests/lib/cmsis_dsp/interpolation/testcase.yaml @@ -1,3 +1,7 @@ +common: + # TODO: Remove when QEMU 6.2 is released with MVE emulation (see #37694). + platform_exclude: mps3_an547 + tests: libraries.cmsis_dsp.interpolation: filter: ((CONFIG_CPU_CORTEX_R or CONFIG_CPU_CORTEX_M) and TOOLCHAIN_HAS_NEWLIB == 1) or CONFIG_ARCH_POSIX diff --git a/tests/lib/cmsis_dsp/matrix/testcase.yaml b/tests/lib/cmsis_dsp/matrix/testcase.yaml index 60eb655370c..38c80addd99 100644 --- a/tests/lib/cmsis_dsp/matrix/testcase.yaml +++ b/tests/lib/cmsis_dsp/matrix/testcase.yaml @@ -1,3 +1,7 @@ +common: + # TODO: Remove when QEMU 6.2 is released with MVE emulation (see #37694). + platform_exclude: mps3_an547 + tests: libraries.cmsis_dsp.matrix: filter: ((CONFIG_CPU_CORTEX_R or CONFIG_CPU_CORTEX_M) and TOOLCHAIN_HAS_NEWLIB == 1) or CONFIG_ARCH_POSIX diff --git a/tests/lib/cmsis_dsp/quaternionmath/testcase.yaml b/tests/lib/cmsis_dsp/quaternionmath/testcase.yaml index a83be4b8084..6fa69b25372 100644 --- a/tests/lib/cmsis_dsp/quaternionmath/testcase.yaml +++ b/tests/lib/cmsis_dsp/quaternionmath/testcase.yaml @@ -1,3 +1,7 @@ +common: + # TODO: Remove when QEMU 6.2 is released with MVE emulation (see #37694). + platform_exclude: mps3_an547 + tests: libraries.cmsis_dsp.quaternionmath: filter: ((CONFIG_CPU_CORTEX_R or CONFIG_CPU_CORTEX_M) and TOOLCHAIN_HAS_NEWLIB == 1) or CONFIG_ARCH_POSIX diff --git a/tests/lib/cmsis_dsp/statistics/testcase.yaml b/tests/lib/cmsis_dsp/statistics/testcase.yaml index e7eb318d14d..8b488724f70 100644 --- a/tests/lib/cmsis_dsp/statistics/testcase.yaml +++ b/tests/lib/cmsis_dsp/statistics/testcase.yaml @@ -1,3 +1,7 @@ +common: + # TODO: Remove when QEMU 6.2 is released with MVE emulation (see #37694). + platform_exclude: mps3_an547 + tests: libraries.cmsis_dsp.statistics: filter: ((CONFIG_CPU_CORTEX_R or CONFIG_CPU_CORTEX_M) and TOOLCHAIN_HAS_NEWLIB == 1) or CONFIG_ARCH_POSIX diff --git a/tests/lib/cmsis_dsp/support/testcase.yaml b/tests/lib/cmsis_dsp/support/testcase.yaml index 30b41ea007d..1a46921efb2 100644 --- a/tests/lib/cmsis_dsp/support/testcase.yaml +++ b/tests/lib/cmsis_dsp/support/testcase.yaml @@ -1,3 +1,7 @@ +common: + # TODO: Remove when QEMU 6.2 is released with MVE emulation (see #37694). + platform_exclude: mps3_an547 + tests: libraries.cmsis_dsp.support: filter: ((CONFIG_CPU_CORTEX_R or CONFIG_CPU_CORTEX_M) and TOOLCHAIN_HAS_NEWLIB == 1) or CONFIG_ARCH_POSIX diff --git a/tests/lib/cmsis_dsp/svm/testcase.yaml b/tests/lib/cmsis_dsp/svm/testcase.yaml index f33f7a7a30d..4cfbc7b8b85 100644 --- a/tests/lib/cmsis_dsp/svm/testcase.yaml +++ b/tests/lib/cmsis_dsp/svm/testcase.yaml @@ -1,3 +1,7 @@ +common: + # TODO: Remove when QEMU 6.2 is released with MVE emulation (see #37694). + platform_exclude: mps3_an547 + tests: libraries.cmsis_dsp.svm: filter: ((CONFIG_CPU_CORTEX_R or CONFIG_CPU_CORTEX_M) and TOOLCHAIN_HAS_NEWLIB == 1) or CONFIG_ARCH_POSIX diff --git a/tests/lib/cmsis_dsp/transform/testcase.yaml b/tests/lib/cmsis_dsp/transform/testcase.yaml index e9c5a1b7877..c1b72d9d711 100644 --- a/tests/lib/cmsis_dsp/transform/testcase.yaml +++ b/tests/lib/cmsis_dsp/transform/testcase.yaml @@ -1,3 +1,7 @@ +common: + # TODO: Remove when QEMU 6.2 is released with MVE emulation (see #37694). + platform_exclude: mps3_an547 + tests: libraries.cmsis_dsp.transform: filter: ((CONFIG_CPU_CORTEX_R or CONFIG_CPU_CORTEX_M) and TOOLCHAIN_HAS_NEWLIB == 1) or CONFIG_ARCH_POSIX