test: check thread creation
authorChengwen Feng <fengchengwen@huawei.com>
Fri, 16 Apr 2021 08:18:26 +0000 (16:18 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 21 Apr 2021 14:29:20 +0000 (16:29 +0200)
commita20cb9d0275eb7f0618b4ef2448544056e1035df
tree3f85eba69a0430fb2b8ffb7545d1c2a5ae5e7b67
parentc53a5f3efbef2d3975c6733e1ed21f42bc37cb83
test: check thread creation

There was a call for thread create function without result check.
Add result check and message print out after failure.

Fixes: 086eb64db39e ("test/pdump: add unit test for pdump library")
Cc: stable@dpdk.org
Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
Acked-by: Reshma Pattan <reshma.pattan@intel.com>
app/test/process.h