This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "".
The branch, master has been updated via 6c6087bc5bc718bd8fb7e773b9206a4b2f7672d4 (commit) from 22721beb44a03491c6df66f8c218ed2d66692fa1 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit 6c6087bc5bc718bd8fb7e773b9206a4b2f7672d4 Author: Maxim Uvarov maxim.uvarov@linaro.org Date: Mon Jul 18 18:50:04 2016 +0300
test: add termination path for l2fwd
Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org Reviewed-by: Mike Holmes mike.holmes@linaro.org
diff --git a/test/performance/odp_l2fwd.c b/test/performance/odp_l2fwd.c index f4947ca..f05aa30 100644 --- a/test/performance/odp_l2fwd.c +++ b/test/performance/odp_l2fwd.c @@ -1481,7 +1481,22 @@ int main(int argc, char *argv[])
free(gbl_args->appl.if_names); free(gbl_args->appl.if_str); - printf("Exit\n\n");
+ if (odp_pool_destroy(pool)) { + LOG_ERR("Error: pool destroy\n"); + exit(EXIT_FAILURE); + } + + if (odp_term_local()) { + LOG_ERR("Error: term local\n"); + exit(EXIT_FAILURE); + } + + if (odp_term_global(instance)) { + LOG_ERR("Error: term global\n"); + exit(EXIT_FAILURE); + } + + printf("Exit %d\n\n", ret); return ret; }
-----------------------------------------------------------------------
Summary of changes: test/performance/odp_l2fwd.c | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-)
hooks/post-receive