zephyr/tests/kernel
Andy Ross 653e7a28ea tests/kernel/common: Skip bitarray tests when KERNEL_COHERENCE
Kernel objects that contain embedded synchronization structures like
spinlocks can't be palced in the (cached/incoherent) stack memory on
coherence platforms like intel_adsp.

The normal fix in a test case is just to make the offending data
static, but that's painful here because SYS_BITARRAY_DEFINE declares
two objects (i.e. you can't put a "static" in front of it as with
similar macros) and it happens to be used in this case to define local
variables with collliding names, so I'd have to go in and rename
everything.

And there's little value anyway.  Bitarrays are nearly-pure data
structures and extremely unlikely to show up platform-dependent
behavior.

Fixes #35242

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2021-05-15 15:28:43 -04:00
..
common tests/kernel/common: Skip bitarray tests when KERNEL_COHERENCE 2021-05-15 15:28:43 -04:00
condvar/condvar_api tests: condvar: fix one testcase failure on qemu_cortex_a53_smp 2021-05-08 17:08:48 -04:00
context tests/kernel/context: Support APIC_TSC_DEADLINE timer 2021-05-07 16:48:58 -04:00
device pm: device: Align state names with system states 2021-05-07 18:35:12 -04:00
early_sleep
fatal tests: kernel: fatal: Add no multithreading test 2021-04-29 14:50:35 +02:00
fifo tests/fifo_api: Move k_fifo off stack 2021-03-08 11:14:27 -05:00
fpu_sharing arm64: FPU context switching support 2021-05-03 11:56:50 +02:00
gen_isr_table tests: gen_isr_table: nucleo_g071rb: decr. NUM_IRQS to avoid conflicts 2021-04-26 14:16:03 -04:00
interrupt tests: interrupt: fix coverity issue of newly added testcases 2021-05-13 22:02:47 -04:00
lifo tests/queue: tests/lifo_usage: Address ADSP/coherence issues 2021-03-08 11:14:27 -05:00
mbox kernel: remove object tracing 2021-05-07 22:10:21 -04:00
mem_heap tests: mheap_api_concept: fix non-reentrant thread_id 2021-05-12 08:30:46 -05:00
mem_protect tests: mem_protect/mem_map: remove unused assignment to cnt 2021-05-11 15:45:39 -05:00
mem_slab tests: kernel: mem_slab: Add no multithreading support 2021-04-29 14:50:35 +02:00
mp tests: kernel: Add missing kernel tag to tests 2021-03-05 14:52:55 -05:00
msgq tests: msgq_usage: ensure all services started before client query 2021-05-13 22:03:55 -04:00
mutex tests: smp: cancel CONFIG_MP_NUM_CPUS limit of some testcases 2021-04-27 13:30:24 -04:00
pending tests: kernel: pending: replace to-be-deprecated k_work API use 2021-04-21 20:42:36 -04:00
pipe tests: pipe: test some error conditions 2021-04-06 10:19:24 -04:00
poll tests/kernel: Add k_poll test for polling on message queues 2021-04-17 07:47:26 -04:00
profiling/profiling_api tests: replace power/power.h with pm/pm.h 2021-05-05 18:35:49 -04:00
queue Test: queue: Add a testcase to test queue 2021-04-06 10:13:49 -04:00
sched test: schedule_api : test some negative test 2021-04-19 16:23:12 -04:00
semaphore tests: kernel: fix two semaphroe testcases failed on ADSP 2021-05-14 16:41:21 -04:00
sleep
smp tests/kernel/smp: Misc synchronization fixups 2021-05-13 22:03:05 -04:00
spinlock userspace: rename _is_user_context -> k_is_user_context 2021-04-01 05:34:17 -04:00
stack/stack tests: stack: add a testcase 2021-03-29 16:19:50 -05:00
threads test: thread : test run k_thread_resume on unsuspend thread 2021-05-07 18:21:23 -04:00
tickless/tickless_concept tests: replace power/power.h with pm/pm.h 2021-05-05 18:35:49 -04:00
timer tests: kernel: timer: timer_api: Extend with CONFIG_MULTITHREADING=n case 2021-04-29 14:50:35 +02:00
workq tests: kernel: workq: inhibit warnings on tests of deprecated API 2021-05-07 18:12:06 -05:00
xip tests: kernel: Add missing kernel tag to tests 2021-03-05 14:52:55 -05:00