test/stack: check errors for multi-threads
authorSteven Lariau <steven.lariau@arm.com>
Wed, 12 Aug 2020 19:18:46 +0000 (20:18 +0100)
committerDavid Marchand <david.marchand@redhat.com>
Wed, 30 Sep 2020 19:08:39 +0000 (21:08 +0200)
commit044421312c049aa415226403402f632578deab4a
tree66d36bbb1a8b5ff271c3f51818204dbb26a60334
parente67925af176bab391fc7062a50c717627efb39e6
test/stack: check errors for multi-threads

Use rte_eal_wait_lcore to wait and get the return value for all cores.
This is used to propagate any error to the main core.

Signed-off-by: Steven Lariau <steven.lariau@arm.com>
Reviewed-by: Dharmik Thakkar <dharmik.thakkar@arm.com>
Reviewed-by: Phil Yang <phil.yang@arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
Acked-by: Gage Eads <gage.eads@intel.com>
app/test/test_stack.c