zephyr/tests
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
..
application_development/gen_inc_file kconfig: Rename the ZTEST stack size option to align with the rest 2022-02-22 08:23:05 -05:00
arch arch: arm: aarch32: Change CPU_CORTEX_R kconfig option 2022-02-23 08:14:15 -06:00
benchmarks arch: arm: aarch32: Change CPU_CORTEX_R kconfig option 2022-02-23 08:14:15 -06:00
bluetooth Bluetooth: Mesh: Re-enable pb_adv_reprovision test 2022-02-23 11:35:38 -08:00
boards tests: boards: intel_s1000_crb: fix k_sleep arguments 2022-01-31 15:25:42 -05:00
boot/uefi tests: uefi: move uefi test out of hello world 2021-10-22 06:36:51 -04:00
cmake/config_dir cmake: APPLICATION_CONFIG_DIR support implemented 2021-11-10 08:25:36 -05:00
crypto kconfig: Rename the ZTEST stack size option to align with the rest 2022-02-22 08:23:05 -05:00
drivers tests: drivers: can: filter out tests if zephyr,canbus not enabled 2022-02-24 07:12:54 -06:00
kernel tests: kernel/common: fix inadequate failing to thread context 2022-02-24 08:38:38 -06:00
lib lvgl: change the prefix of Zephyr-specific LVGL config options 2022-02-24 11:51:33 +01:00
misc tests: Run test_build only on platforms whose console has a driver 2022-02-21 22:17:27 -05:00
net net: lwm2m: Add proper resource-level discovery attribute handling 2022-02-22 10:12:27 -08:00
posix kconfig: Rename the TEST_EXTRA stack size option to align with the rest 2022-02-22 08:23:05 -05:00
subsys tests: subsys: canbus: filter out tests if zephyr,canbus not enabled 2022-02-24 07:12:54 -06:00
unit lib: os: crc: Rework the crc16() implementation 2022-02-04 12:33:22 -05:00
ztest arch: arm: aarch32: Change CPU_CORTEX_R kconfig option 2022-02-23 08:14:15 -06:00