tests: app_kernel: exclude call_test() on unified
The unified kernel doesn't use the KERNEL_ENTRY() mechanism, it doesn't do kernel calls in a special context. So there's no reason to test this on the unified kernel and we can omit it. Change-Id: I2b8aa2495385a39130e9b87c0d0324f2f205a2c8 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
98625cb6ce
commit
389dc9f96e
3 changed files with 10 additions and 2 deletions
|
@ -3,6 +3,12 @@ ccflags-y += -I$(ZEPHYR_BASE)/tests/legacy/benchmark/latency_measure/microkernel
|
||||||
-I${ZEPHYR_BASE}/tests/include
|
-I${ZEPHYR_BASE}/tests/include
|
||||||
|
|
||||||
obj-y := fifo_b.o mailbox_b.o master.o mempool_b.o \
|
obj-y := fifo_b.o mailbox_b.o master.o mempool_b.o \
|
||||||
nop_b.o pipe_r.o sema_r.o event_b.o \
|
pipe_r.o sema_r.o event_b.o \
|
||||||
fifo_r.o mailbox_r.o memmap_b.o mutex_b.o \
|
fifo_r.o mailbox_r.o memmap_b.o mutex_b.o \
|
||||||
pipe_b.o receiver.o sema_b.o
|
pipe_b.o receiver.o sema_b.o
|
||||||
|
|
||||||
|
# TODO once we drop legacy support, remove completely
|
||||||
|
ifeq ($(CONFIG_KERNEL_V2),)
|
||||||
|
obj-y += nop_b.o
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
|
@ -115,7 +115,9 @@ void BenchTask(void)
|
||||||
output_file);
|
output_file);
|
||||||
PRINT_STRING(dashline, output_file);
|
PRINT_STRING(dashline, output_file);
|
||||||
task_start(RECVTASK);
|
task_start(RECVTASK);
|
||||||
|
#ifndef CONFIG_KERNEL_V2
|
||||||
call_test();
|
call_test();
|
||||||
|
#endif
|
||||||
queue_test();
|
queue_test();
|
||||||
sema_test();
|
sema_test();
|
||||||
mutex_test();
|
mutex_test();
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[test]
|
[test]
|
||||||
tags = benchmark
|
tags = benchmark unified_capable
|
||||||
arch_whitelist = x86
|
arch_whitelist = x86
|
||||||
# On my machine, takes about 110 to run, 180 to be safe
|
# On my machine, takes about 110 to run, 180 to be safe
|
||||||
timeout = 180
|
timeout = 180
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue