test: add a testcase for dynamic logs
authorOlivier Matz <olivier.matz@6wind.com>
Fri, 8 Dec 2017 13:21:22 +0000 (14:21 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 17 Jan 2018 11:07:50 +0000 (12:07 +0100)
commit612c6e8bd2582e5a3ee6289ec03979fb9c98cc8a
treee255c7d16916c6996c2cce1c689f6ee6215fd067
parentb88c1bfd96cfc34b8d8055d65d899ffffee78171
test: add a testcase for dynamic logs

Update the logs test to also validate the dynamic log framework.
For now, also keep the old way using the static USER type.

Validated with:

   # build/app/test --no-huge
   ...
   RTE>>logs_autotest
   == dynamic log types
   error message
   critical message
   critical message
   error message
   == static log types
   TESTAPP1: error message
   TESTAPP1: critical message
   TESTAPP2: critical message
   TESTAPP1: error message
   Test OK

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
test/test/test_logs.c