zephyr/tests/kernel/common/src
Daniel Leung 45940cf8cf tests: kernel/common: fix inadequate failing to thread context
The thread context test has insufficient checkings for failing
so add them:

() The variable rv for pass/fail is set but never checked. So
   add a check to fail the test if such indicated.
() Each thread's pass variable is set to TC_FAIL (== 1) and
   the check for successful thread execution simply checks
   if pass variable is not zero, which is always true. So
   change it so the check for failing condition is reasonable.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2022-02-24 08:38:38 -06:00
..
atomic.c kconfig: Rename the TEST_EXTRA stack size option to align with the rest 2022-02-22 08:23:05 -05:00
bitarray.c tests: common: add test for ffs function 2021-09-07 11:30:43 -04:00
bitfield.c tests: Big endian support in bitfield test 2020-11-13 14:53:55 -08:00
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 tests: kernel/common: fix inadequate failing to thread context 2022-02-24 08:38:38 -06:00
irq_offload.c tests/kernel/common: Add nested irq_offload() test 2022-02-21 22:10:03 -05:00
main.c tests/kernel/common: Add nested irq_offload() test 2022-02-21 22:10:03 -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 kconfig: Rename the TEST_EXTRA stack size option to align with the rest 2022-02-22 08:23:05 -05:00