distributor: add unit tests
authorBruce Richardson <bruce.richardson@intel.com>
Thu, 29 May 2014 10:12:17 +0000 (11:12 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 12 Jun 2014 13:48:24 +0000 (15:48 +0200)
commitc3eabff124e60dba684846b37d05ee31edc11e4b
tree1ec4497a6f5d4756798af607b0b1823fb3369a2e
parent08ccf3faa6a9977c9960306e03b4fbe6a4e76dbf
distributor: add unit tests

Add a set of unit tests and some basic performance test for the
distributor library. These tests cover all the major functionality of
the library on both distributor and worker sides.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Tested-by: Waterman Cao <waterman.cao@intel.com>
app/test/Makefile
app/test/commands.c
app/test/test.h
app/test/test_distributor.c [new file with mode: 0644]
app/test/test_distributor_perf.c [new file with mode: 0644]