test: rely on dynamic log level to display hexdumps
authorOlivier Matz <olivier.matz@6wind.com>
Fri, 8 Dec 2017 13:21:21 +0000 (14:21 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 17 Jan 2018 11:05:31 +0000 (12:05 +0100)
commitb88c1bfd96cfc34b8d8055d65d899ffffee78171
treefd060254cc2abbe94c00eb2fb59dbe0e2563bbc7
parent1334a505ef4de2471d1cd3cf561304ce7757d320
test: rely on dynamic log level to display hexdumps

Instead of relying on a compile-time option, use the global log-level
to decide if the hexdumps should be displayed in the tests.

Valitation:

  # build/app/test --no-huge
  RTE>>crc_autotest
  Test OK

  # build/app/test --no-huge --log-level=8
  RTE>>crc_autotest
  [many hexdumps...]
  Test OK

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
test/test/test.h
test/test/test_crc.c
test/test/test_cryptodev.c
test/test/test_cryptodev_blockcipher.c