Print out name of device on which test is running at start of
test suite.

Signed-off-by: Fiona Trahe <fiona.tr...@intel.com>
---
 test/test/test_compressdev.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/test/test/test_compressdev.c b/test/test/test_compressdev.c
index f960963..56dcc78 100644
--- a/test/test/test_compressdev.c
+++ b/test/test/test_compressdev.c
@@ -80,6 +80,9 @@ testsuite_setup(void)
                return TEST_FAILED;
        }
 
+       RTE_LOG(NOTICE, USER1, "Running tests on device %s\n",
+                               rte_compressdev_name_get(0));
+
        uint32_t max_buf_size = 0;
        for (i = 0; i < RTE_DIM(compress_test_bufs); i++)
                max_buf_size = RTE_MAX(max_buf_size,
-- 
2.7.4

Reply via email to