test/compress: add initial unit tests
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Fri, 4 May 2018 10:22:14 +0000 (11:22 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 10 May 2018 16:46:20 +0000 (17:46 +0100)
commitb06aa643cac4ea815b9ae6aec6c09bf584c33bd6
treeeb53f58adc83449d9efad28150c2133540a4fc4b
parenta584d3bea902cf52a7d07b8a5a6cd1318dfcf88b
test/compress: add initial unit tests

This commit introduces the initial tests for compressdev,
performing basic compression and decompression operations
of sample test buffers, using the Zlib library in one direction
and compressdev in another direction, to make sure that
the library is compatible with Zlib.

Due to the use of Zlib API, the test is disabled by default,
to avoid adding a new dependency on DPDK.

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Signed-off-by: Ashish Gupta <ashish.gupta@caviumnetworks.com>
Signed-off-by: Shally Verma <shally.verma@caviumnetworks.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
Acked-by: Lee Daly <lee.daly@intel.com>
MAINTAINERS
config/common_base
test/test/Makefile
test/test/meson.build
test/test/test_compressdev.c [new file with mode: 0644]
test/test/test_compressdev_test_buffer.h [new file with mode: 0644]