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:
Andrew Boie 2016-11-01 10:41:17 -07:00
parent 98625cb6ce
commit 389dc9f96e
3 changed files with 10 additions and 2 deletions

View file

@ -3,6 +3,12 @@ ccflags-y += -I$(ZEPHYR_BASE)/tests/legacy/benchmark/latency_measure/microkernel
-I${ZEPHYR_BASE}/tests/include
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 \
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

View file

@ -115,7 +115,9 @@ void BenchTask(void)
output_file);
PRINT_STRING(dashline, output_file);
task_start(RECVTASK);
#ifndef CONFIG_KERNEL_V2
call_test();
#endif
queue_test();
sema_test();
mutex_test();

View file

@ -1,5 +1,5 @@
[test]
tags = benchmark
tags = benchmark unified_capable
arch_whitelist = x86
# On my machine, takes about 110 to run, 180 to be safe
timeout = 180