service: add unit tests
authorHarry van Haaren <harry.van.haaren@intel.com>
Tue, 11 Jul 2017 14:19:30 +0000 (15:19 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 16 Jul 2017 18:35:56 +0000 (20:35 +0200)
commitf038a81e1c564840fa8876c110ab428f747008ed
tree064830ce2e634e1e345724d4df8b4429d6345f6a
parent25175fb2ab27966b7774be80f0caf94a40092ad9
service: add unit tests

Add a bunch of unit tests, to ensure that the service
core functions are operating as expected.

As part of these tests a dummy service is registered which
allows identifying if a service callback has been invoked
by using the CPU tick counter. This allows identifying if
functions to start and stop service lcores are actually having
effect.

Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com>
Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
MAINTAINERS
test/test/Makefile
test/test/test_service_cores.c [new file with mode: 0644]