zephyr/tests/kernel
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
..
boot_page_table arch/x86: move arch/x86/include/mmustructs.h to ia32/mmustructs.h 2019-07-03 20:01:17 -04:00
common tests/kernel/common: Fix uptime delta test for fast ticks 2019-07-02 22:52:29 -04:00
context timer: Add Xilinx ZynqMP PS ttc timer 2019-08-09 22:50:50 +02:00
critical tests: kernel: critical: alternative test-case for SAM SoCs with WDT 2019-07-11 11:26:01 -05:00
device tests: enable native_posix_64 testing 2019-07-16 10:41:11 -07:00
early_sleep tests/kernel/early_sleep: Fix for fast ticks 2019-07-02 22:52:29 -04:00
fatal tests: fatal: increase robustness 2019-08-19 15:38:51 -05:00
fifo cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
fp_sharing arch: arc: optimize the float support 2019-08-01 18:09:35 -07:00
gen_isr_table riscv32: rename to riscv 2019-08-02 13:54:48 -07:00
interrupt riscv32: rename to riscv 2019-08-02 13:54:48 -07:00
lifo cleanup: include/: move misc/slist.h to sys/slist.h 2019-06-27 22:55:49 -04:00
mbox pointer-type args: cast appropriately to be 64-bit compatible 2019-06-12 08:20:52 -07:00
mem_heap/mheap_api_concept malloc: make sure returned memory is properly aligned 2019-07-03 14:17:29 -07:00
mem_pool riscv32: rename to riscv 2019-08-02 13:54:48 -07:00
mem_protect tests: remove the exception for arc 2019-08-09 20:11:58 +02:00
mem_slab cleanup: include/: move atomic.h to sys/atomic.h 2019-06-27 22:55:49 -04:00
mp license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
msgq/msgq_api test/msgq: adjust overflow test for 64-bit targets 2019-07-04 07:22:43 -04:00
mutex tests: kernel: mutex: Require 32kB RAM when building with USERSPACE 2019-08-15 20:01:05 -05:00
obj_tracing k_stack: make it 64-bit compatible 2019-06-14 05:46:29 -04:00
pending lifo/fifo: first word is not always first 4 bytes 2019-06-26 09:08:42 -04:00
pipe tests: clean up fatal error handlers 2019-08-06 19:32:22 -07:00
poll tests: poll: expand userspace coverage 2019-06-18 09:08:01 -04:00
profiling/profiling_api cleanup: include/: move misc/stack.h to debug/stack.h 2019-06-27 22:55:49 -04:00
queue mempool: make sure max block size isn't smaller than minimum allowed 2019-07-02 19:41:20 -07:00
sched tests/kernel/sched/schedule_api: Fix static analysis volatile warning 2019-08-21 15:53:50 +02:00
semaphore docs: fix misspelling across the tree 2019-06-19 15:34:13 -05:00
sleep tests/kernel/sleep: Fix usleep test for fast ticks 2019-07-02 22:52:29 -04:00
smp tests: enable hsdk and nsim_hs_smp for smp test 2019-08-11 21:18:38 +02:00
spinlock license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
stack k_stack: make it 64-bit compatible 2019-06-14 05:46:29 -04:00
threads tests: clean up fatal error handlers 2019-08-06 19:32:22 -07:00
tickless boards: remove quarl_se_c1000 2019-07-29 21:30:25 -07:00
timer docs: fix misspelling across the tree 2019-06-19 15:34:13 -05:00
workq tests: work_queue_api: Fix k_delayed_work_remaining_get() test 2019-07-23 13:54:39 +02:00
xip license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00