Skip to content

Commit be8c7e5

Browse files
manuarguecarlescufi
authored andcommitted
tests: error_hook: skip div-by-zero on FVP BaseR
Division-by-zero does not generate an exception on ARM FVP BaseR. Signed-off-by: Manuel Arguelles <[email protected]>
1 parent 354254f commit be8c7e5

File tree

1 file changed

+2
-1
lines changed
  • tests/ztest/error_hook/src

1 file changed

+2
-1
lines changed

tests/ztest/error_hook/src/main.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,8 @@ __no_optimization static void trigger_fault_divide_zero(void)
121121
defined(CONFIG_BOARD_QEMU_CORTEX_A53) || defined(CONFIG_SOC_QEMU_ARC) || \
122122
defined(CONFIG_ARMV6_M_ARMV8_M_BASELINE) || \
123123
defined(CONFIG_BOARD_QEMU_CORTEX_R5) || \
124-
defined(CONFIG_BOARD_FVP_BASER_AEMV8R) || defined(CONFIG_BOARD_FVP_BASE_REVC_2XAEMV8A)
124+
defined(CONFIG_BOARD_FVP_BASER_AEMV8R) || defined(CONFIG_BOARD_FVP_BASE_REVC_2XAEMV8A) || \
125+
defined(CONFIG_BOARD_FVP_BASER_AEMV8R_AARCH32)
125126
ztest_test_skip();
126127
#endif
127128
}

0 commit comments

Comments
 (0)