test/timer: exercise new APIs in secondary process
authorErik Gabriel Carrillo <erik.g.carrillo@intel.com>
Thu, 18 Apr 2019 21:00:04 +0000 (16:00 -0500)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 22 Apr 2019 19:07:59 +0000 (21:07 +0200)
commit50247fe03fe0476746b1ecdb540d44e24a28cece
treecb4fdb6c5509b236e9f2e4ff5d497c7d75b029e6
parent18715a0b6f1f7742f21240007f9df501e35aec5e
test/timer: exercise new APIs in secondary process

This commit adds an autotest which exercises new timer reset/stop APIs
in a secondary process. Timers are created, and sometimes stopped, in
the secondary process, and their expiration is checked for and handled
in the primary process.

Signed-off-by: Erik Gabriel Carrillo <erik.g.carrillo@intel.com>
app/test/Makefile
app/test/meson.build
app/test/test.c
app/test/test.h
app/test/test_timer_secondary.c [new file with mode: 0644]
lib/librte_timer/rte_timer.c