-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Description
Test zephyr/tests/kernel/init fails to build and throws an error " integer overflow in exp " .
Configuration :
nios2
Altera Max 10
Commit : 8ba0ddf
Error description :
zephyr/tests/kernel/init/src/main.c: In function ‘verify_bootdelay’:
build output: zephyr/tests/kernel/init/src/main.c:26:43: error: integer overflow in exp
build output: (CONFIG_BOOT_DELAY * NSEC_PER_USEC * USEC_PER_MSEC),
build output: ^
build output: zephyr/tests/ztest/include/ztest_assert.h:92:11: note: in definition of m
build output: _zassert(cond, msg ? ("(" default_msg ")") : (default_msg),
build output: ^~~~
build output: zephyr/tests/kernel/init/src/main.c:25:2: note: in expansion of macro ‘za
build output: zassert_true(SYS_CLOCK_HW_CYCLES_TO_NS64(current_cycles) >=
build output: ^~~~~~~~~~~~