zephyr/tests
Andy Ross 28fc46ee09 tests/kernel/sched/schedule_api: Fix static analysis volatile warning
We were testing the value of a volatile variable inside a zassert,
which static analysis doesn't like.  In principle, it might be
volatile because it's an MMIO register or something and the read is a
side effect, and an assertion will be optionally compiled.  (Except
here the value is just regular memory marked volatile for
threadsafety, and zassert will never be elided in a test, but the tool
doesn't know that).

Refactor a little so we always read the variable in a way the tool can
detect is consistent.

Fixes #18446

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2019-08-21 15:53:50 +02:00
..
application_development tests/ /gen_inc_file: convert 4,5,6,7 enumeration to an interval 2019-08-21 07:27:22 -05:00
arch tests: arch: arm_thread_swap: fix ASSERT statements on volatile vars 2019-08-19 09:46:24 +02:00
benchmarks tests: benchmarks: Do not use CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC 2019-07-24 15:10:02 +02:00
bluetooth Bluetooth: GATT: Fix dereference after NULL check 2019-08-19 13:09:26 +02:00
boards tests: boards: board_shell: Activate CAN shell 2019-07-29 10:27:54 +03:00
booting/stub license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
cmsis_rtos_v1 tests/cmsis_rtos_v1: relax timing check a bit 2019-08-02 12:47:41 +02:00
cmsis_rtos_v2 tests/cmsis_rtos_v2: exclude m2gl025_miv due to tick rate conflict 2019-08-02 12:47:41 +02:00
crypto kernel: lib: Add convert functions for hex strings and binary arrays 2019-07-16 12:44:18 +02:00
drivers tests: drivers: can: Add test for TX callback 2019-08-18 15:14:30 +02:00
kernel tests/kernel/sched/schedule_api: Fix static analysis volatile warning 2019-08-21 15:53:50 +02:00
lib tests: lib: sprintf: filter-out MCIMX7_M4 platform 2019-08-16 17:35:04 +02:00
misc cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
net tests: net: Fix for coverity CID 203499 2019-08-19 16:27:23 +02:00
posix tests: posix: No longer use target_include_directories 2019-08-08 14:31:35 +02:00
shell shell: add test for new built-in command 2019-05-24 11:04:42 +02:00
subsys tests/subsys/settings/fcb: deletion test 2019-08-20 13:18:38 +02:00
unit tests: crc: convert to regular test case 2019-07-06 00:31:04 +02:00
ztest subsys/testsuite/ztest: change zassert_mem_equal to macro 2019-06-03 09:39:37 -04:00