zephyr/tests/kernel/common/src
TOKITA Hiroshi da68cde759 tests: skip arch_nop test when machine timer uses divided sys clock
When the case machine timer clock uses the divided system clock,
k_cycle_get_32() can't measure accurately how many cycles elapsed.

For example, use the value as timer clock obtained by dividing
the system clock by 4.
In this case, measuring a duration with k_cycle_get32() has up to 3
(4-1) cycles systematic error.

To run this test, we need to insert an appropriate of nops
with consideration for the errors.
'nop' can not repeat with for loop.
Must insert as separated statement.
But we don't have a convenient function such as
BOOST_PP_REPEAT in C++.

At this time, Implementing a generic test is a bit difficult.
Skipping this test in the case.

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2021-12-20 17:51:30 +01:00
..
atomic.c tests: kernel: atomics: expand atomic operations to 64-bit 2021-11-15 09:59:01 -05:00
bitarray.c tests: common: add test for ffs function 2021-09-07 11:30:43 -04:00
bitfield.c
boot_delay.c tests/kernel/common: Skip boot delay tests on systems that are too fast 2021-05-07 16:48:58 -04:00
byteorder.c
clock.c tests: clock: tests for k_cycle_get_64 2021-11-08 13:41:53 -05:00
errno.c userspace: rename _is_user_context -> k_is_user_context 2021-04-01 05:34:17 -04:00
irq_offload.c tests: skip arch_nop test when machine timer uses divided sys clock 2021-12-20 17:51:30 +01:00
main.c tests: clock: tests for k_cycle_get_64 2021-11-08 13:41:53 -05:00
multilib.c
printk.c lib/os/cbprintf_nano.c: avoid sign extension on unsigned formats 2021-09-02 19:37:06 -04:00
timeout_order.c tests: kernel/common: incorrect use of k_poll in timeout order 2021-05-25 07:34:59 -05:00