app/test: introduce dynamic commands list
authorDavid Marchand <david.marchand@6wind.com>
Mon, 18 Aug 2014 11:29:22 +0000 (13:29 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 26 Aug 2014 15:52:33 +0000 (17:52 +0200)
commit727909c5923147d0c7c0091a0f791432fa954431
tree274abc514f90bd1eca17e1914c253de0a58fd9a3
parent3c9ea200e869fb34649b5d733cdeed2c91e3d03d
app/test: introduce dynamic commands list

This patch adds a way to dynamically add a test without modifying commands.c.
Move all current tests in a builtin_commands[] list, next patch will convert
them to this new system.

Signed-off-by: David Marchand <david.marchand@6wind.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
app/test/commands.c
app/test/test.c
app/test/test.h