git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f51c290
)
test/compress: log device name
author
Fiona Trahe
<fiona.trahe@intel.com>
Tue, 10 Jul 2018 11:07:14 +0000
(12:07 +0100)
committer
Pablo de Lara
<pablo.de.lara.guarch@intel.com>
Mon, 23 Jul 2018 23:48:10 +0000
(
01:48
+0200)
Print out name of device on which test is running at start of
test suite.
Signed-off-by: Fiona Trahe <fiona.trahe@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
test/test/test_compressdev.c
patch
|
blob
|
history
diff --git
a/test/test/test_compressdev.c
b/test/test/test_compressdev.c
index
f960963
..
56dcc78
100644
(file)
--- 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,