zephyr/tests/kernel
Andy Ross d042a3dac7 tests/kernel/mp: Update the MP test to run on emulated platforms
This was a very early test and got bitrotten inside a esp32-only
whitelist.  Make it run generically.

SMP must be forced off by the test (it's commonly a platform default).

Add a build-time failure when the configuration is single-CPU, for
clarity.

Filter the test likewise so it runs on all supported systems.

Also, the key argument to the CPU startup function is vestigial and
the test was being too strict by requiring it to be non-zero.

Finally, the qemu command line needs to predicate the "-smp" argument
on CONFIG_MP_NUM_CPUS and not just CONFIG_SMP so we have an extra CPU
to test against.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2019-10-06 12:53:28 -04:00
..
boot_page_table x86: abstract toplevel page table pointer 2019-10-04 15:53:49 -07:00
common coccinelle: standardize kernel API timeout arguments 2019-10-03 11:55:44 -07:00
context tests: Never disable SMP 2019-09-26 16:54:06 -04:00
critical tests: Never disable SMP 2019-09-26 16:54:06 -04:00
device tests: enable native_posix_64 testing 2019-07-16 10:41:11 -07:00
early_sleep tests: Never disable SMP 2019-09-26 16:54:06 -04:00
fatal coccinelle: standardize kernel API timeout arguments 2019-10-03 11:55:44 -07:00
fifo tests: Never disable SMP 2019-09-26 16:54:06 -04:00
fp_sharing tests/kernel/fp_sharing: Fix static analysis warning 2019-08-22 07:07:31 -04:00
gen_isr_table riscv32: rename to riscv 2019-08-02 13:54:48 -07:00
interrupt coccinelle: standardize kernel API timeout arguments 2019-10-03 11:55:44 -07:00
lifo tests: Never disable SMP 2019-09-26 16:54:06 -04:00
mbox tests: Never disable SMP 2019-09-26 16:54:06 -04:00
mem_heap/mheap_api_concept malloc: make sure returned memory is properly aligned 2019-07-03 14:17:29 -07:00
mem_pool coccinelle: standardize kernel API timeout arguments 2019-10-03 11:55:44 -07:00
mem_protect x86: abstract toplevel page table pointer 2019-10-04 15:53:49 -07:00
mem_slab coccinelle: standardize kernel API timeout arguments 2019-10-03 11:55:44 -07:00
mp tests/kernel/mp: Update the MP test to run on emulated platforms 2019-10-06 12:53:28 -04:00
msgq/msgq_api tests: Never disable SMP 2019-09-26 16:54:06 -04:00
mutex tests: Never disable SMP 2019-09-26 16:54:06 -04:00
obj_tracing coccinelle: standardize kernel API timeout arguments 2019-10-03 11:55:44 -07:00
pending coccinelle: standardize kernel API timeout arguments 2019-10-03 11:55:44 -07:00
pipe kernel: tests: Increased TX/RX buf size in pipe test 2019-10-01 17:56:02 -04:00
poll coccinelle: standardize kernel API timeout arguments 2019-10-03 11:55:44 -07:00
profiling/profiling_api tests: Never disable SMP 2019-09-26 16:54:06 -04:00
queue tests: Never disable SMP 2019-09-26 16:54:06 -04:00
sched coccinelle: standardize kernel API timeout arguments 2019-10-03 11:55:44 -07:00
semaphore coccinelle: standardize kernel API timeout arguments 2019-10-03 11:55:44 -07:00
sleep tests: Never disable SMP 2019-09-26 16:54:06 -04:00
smp tests: smp: do not whitelist, use filter 2019-10-05 16:13:36 -07:00
spinlock tests/kernel/spinlock: No need to use MP API anymore 2019-10-06 12:53:28 -04:00
stack tests: Never disable SMP 2019-09-26 16:54:06 -04:00
threads kernel: tests: Added header with common declarations 2019-10-01 09:16:01 -04:00
tickless boards: arm: qemu_cortex_m0: filter out a couple of failing tests 2019-10-02 21:06:54 -04:00
timer coccinelle: standardize kernel API timeout arguments 2019-10-03 11:55:44 -07:00
workq coccinelle: standardize kernel API timeout arguments 2019-10-04 16:23:57 -04:00
xip x86: fix XIP SOC support and defaults 2019-09-11 21:11:38 -04:00