diff options
author | Matias Elo <matias.elo@nokia.com> | 2020-08-28 15:22:04 +0300 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2020-09-03 12:33:19 +0300 |
commit | 6b9337346dbdeb4321ea3ef76596e04fd5d0d46b (patch) | |
tree | c002094b9645d655a336796ada877ba7bae7580b /test/validation/api/queue | |
parent | 129ef14f4a24720eedf496e9f90b6bf604fe9725 (diff) |
validation: queue: call new odp_queue_print() function
Call new odp_queue_print() function for plain and scheduled queues.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Diffstat (limited to 'test/validation/api/queue')
-rw-r--r-- | test/validation/api/queue/queue.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/validation/api/queue/queue.c b/test/validation/api/queue/queue.c index 247ac1b6c..256194f81 100644 --- a/test/validation/api/queue/queue.c +++ b/test/validation/api/queue/queue.c @@ -732,7 +732,7 @@ static void queue_test_info(void) q_order = odp_queue_create(nq_order, ¶m); CU_ASSERT(ODP_QUEUE_INVALID != q_order); - /* Check info for the plain queue */ + /* Check info and call print for a plain queue */ CU_ASSERT(odp_queue_info(q_plain, &info) == 0); CU_ASSERT(strcmp(nq_plain, info.name) == 0); CU_ASSERT(info.param.type == ODP_QUEUE_TYPE_PLAIN); @@ -740,8 +740,9 @@ static void queue_test_info(void) ctx = info.param.context; /* 'char' context ptr */ CU_ASSERT(ctx == q_plain_ctx); CU_ASSERT(info.param.context == odp_queue_context(q_plain)); + odp_queue_print(q_plain); - /* Check info for the scheduled ordered queue */ + /* Check info and call print for a scheduled ordered queue */ CU_ASSERT(odp_queue_info(q_order, &info) == 0); CU_ASSERT(strcmp(nq_order, info.name) == 0); CU_ASSERT(info.param.type == ODP_QUEUE_TYPE_SCHED); @@ -756,6 +757,7 @@ static void queue_test_info(void) CU_ASSERT(ret == param.sched.lock_count); lock_count = ret; CU_ASSERT(info.param.sched.lock_count == lock_count); + odp_queue_print(q_order); CU_ASSERT(odp_queue_destroy(q_plain) == 0); CU_ASSERT(odp_queue_destroy(q_order) == 0); |