The spi_loopback_transceive() helper currently only prints a message if a configuration is invalid, continuing the test case as if it succeeded. This results in the test case using the helper trying to validate the result from a spi transaction that was skipped. Fix this by explicitly skipping the test using the ztest framework's ztest_test_skip() function, which skips the entire test case. Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| boards | ||
| dts/bindings | ||
| socs | ||
| src | ||
| sysbuild/vpr_launcher | ||
| CMakeLists.txt | ||
| Kconfig | ||
| overlay-gd32-spi-dma.conf | ||
| overlay-gd32-spi-interrupt.conf | ||
| overlay-max32-spi-dma.conf | ||
| overlay-max32-spi-rtio.conf | ||
| overlay-mcux-dspi-dma.conf | ||
| overlay-mcux-dspi-dma.overlay | ||
| overlay-mcux-flexio-spi.overlay | ||
| overlay-rpi-pico-pio.conf | ||
| overlay-sam-spi-dma.conf | ||
| overlay-sam-spi-dma.overlay | ||
| overlay-stm32-spi-16bits-dma-dt-nocache-mem.conf | ||
| overlay-stm32-spi-16bits-dma.conf | ||
| overlay-stm32-spi-16bits.conf | ||
| overlay-stm32-spi-16bits.overlay | ||
| overlay-stm32-spi-dma-dt-nocache-mem.conf | ||
| overlay-stm32-spi-dma.conf | ||
| overlay-stm32-spi-interrupt.conf | ||
| prj.conf | ||
| testcase.yaml | ||