test/compress: improve debug logs
authorFiona Trahe <fiona.trahe@intel.com>
Wed, 31 Oct 2018 00:42:06 +0000 (00:42 +0000)
committerAkhil Goyal <akhil.goyal@nxp.com>
Fri, 2 Nov 2018 11:26:06 +0000 (12:26 +0100)
commit466a2c4bb5f4b9495380b1661d51047649d7fa76
tree74b95dc6c345bbe29c9bda0127b8642dea571ede
parentcea6abe3796cd06cfa135964476565ab6ba74791
test/compress: improve debug logs

Make clear which engine is compressing and which is decompressing
in debug output. Also add newline and print ratio = 0 if test fails.

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