test/compress: add checksum tests
authorLee Daly <lee.daly@intel.com>
Tue, 8 Jan 2019 16:20:43 +0000 (16:20 +0000)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 10 Jan 2019 15:57:22 +0000 (16:57 +0100)
commiteb8cc072792019f22e046e624db533f29e374e59
tree8d622862f9970ccab01eb77cd7c0da1bf92d5446
parent3056d22a5c9b8214b0d89ab5faf42f436e56c12f
test/compress: add checksum tests

This patch adds a test which examines what type of checksum the PMD
supports, Adler, CRC32 or Adler32_CRC32
and tests that feature if the PMD supports it.

Signed-off-by: Lee Daly <lee.daly@intel.com>
Acked-by: Tomasz Jozwiak <tomaszx.jozwiak@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
test/test/test_compressdev.c