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 9dced3ede96b81f883172bad827054bd796c13b4 (commit) via 371491363d62b151f7036eecfc97b9b86c2b2faa (commit) via 5b3020ba35230c8dc7beb15fe48fe6064c92810b (commit) via 0c2ac5119b3015e223357d168b00515a822728cc (commit) from a45047e728ca1cc0c97e0201eb9900daae5730b6 (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 9dced3ede96b81f883172bad827054bd796c13b4 Author: Matias Elo matias.elo@nokia.com Date: Thu Apr 18 15:56:44 2019 +0300
travis: update distribution to ubuntu xenial
Travis default distribution is updated to Ubuntu Xenial (Trusty standard support is ending). Miscellaneous comment typos have been fixed.
Signed-off-by: Matias Elo matias.elo@nokia.com Reviewed-by: Petri Savolainen petri.savolainen@nokia.com
diff --git a/.travis.yml b/.travis.yml index 607e89477..dec6b25c8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,21 +1,22 @@ # Copyright (c) 2016-2019, Linaro Limited +# Copyright (c) 2019, Nokia # All rights reserved. # SPDX-License-Identifier: BSD-3-Clause # -# Please update xxxx for your coverity token and notification email if required +# Please update xxxx for your Coverity token and notification email if required # pushing to github/master will run make check # pushing to github/coverity_scan will also launch a static analysis # See https://scan.coverity.com/travis_ci
# -# Travis uses Docker images which mainained here: +# Travis uses Docker images which are maintained here: # https://github.com/OpenDataPlane/odp-docker-images -# CI scirpts are maintained under ./scripts/ci/ directory -# which passed into container during the test run. +# CI scripts are maintained under ./scripts/ci/ directory +# which is passed to the containers during a test run.
language: c sudo: required -dist: trusty +dist: xenial stages: - "build only" - test @@ -43,9 +44,10 @@ compiler: env: global: # - # By default Linaro CODECOV_TOKEN token is used. It's ok to use it to see - # for individual commit validation. But you you want to track tests history - # you need generated new one at https://codecov.io specific for your repo. + # By default, OpenDataPlane CODECOV_TOKEN token is used. It's OK to use + # it for individual commit validation. If you want to track test history + # you need to generate a new one at https://codecov.io specific for your + # repo. - CODECOV_TOKEN=a733c34c-5f5c-4ff1-af4b-e9f5edb1ab5e - OS="ubuntu_16.04" - CHECK=1 @@ -232,7 +234,7 @@ jobs: - pushd doc - make - popd - # doxygen does not trap on warnings, check for them here. + # Doxygen does not trap on warnings, check for them here. - make doxygen-doc 2>&1 |tee doxygen.log - | fgrep -rq warning ./doxygen.log
commit 371491363d62b151f7036eecfc97b9b86c2b2faa Author: Petri Savolainen petri.savolainen@nokia.com Date: Tue Apr 16 15:57:30 2019 +0300
api: update version number to 1.21.4
Increment version number to reflect queue API specification update.
Signed-off-by: Petri Savolainen petri.savolainen@nokia.com Reviewed-by: Matias Elo matias.elo@nokia.com
diff --git a/configure.ac b/configure.ac index ae135261e..29ffef29e 100644 --- a/configure.ac +++ b/configure.ac @@ -4,7 +4,7 @@ AC_PREREQ([2.5]) ########################################################################## m4_define([odpapi_generation_version], [1]) m4_define([odpapi_major_version], [21]) -m4_define([odpapi_minor_version], [3]) +m4_define([odpapi_minor_version], [4]) m4_define([odpapi_point_version], [0]) m4_define([odpapi_version], [odpapi_generation_version.odpapi_major_version.odpapi_minor_version.odpapi_point_version])
commit 5b3020ba35230c8dc7beb15fe48fe6064c92810b Author: Petri Savolainen petri.savolainen@nokia.com Date: Tue Apr 16 15:54:36 2019 +0300
validation: queue: check default context value
Check that queue context pointer value is NULL by default.
Signed-off-by: Petri Savolainen petri.savolainen@nokia.com Reviewed-by: Matias Elo matias.elo@nokia.com
diff --git a/test/validation/api/queue/queue.c b/test/validation/api/queue/queue.c index aab95bab2..b58ccfb15 100644 --- a/test/validation/api/queue/queue.c +++ b/test/validation/api/queue/queue.c @@ -623,6 +623,7 @@ static void queue_test_param(void) CU_ASSERT(ODP_SCHED_SYNC_PARALLEL == odp_queue_sched_type(queue)); CU_ASSERT(ODP_SCHED_GROUP_WORKER == odp_queue_sched_group(queue));
+ CU_ASSERT(odp_queue_context(queue) == NULL); CU_ASSERT(0 == odp_queue_context_set(queue, &queue_context, sizeof(queue_context)));
@@ -633,6 +634,7 @@ static void queue_test_param(void) odp_queue_param_init(&qparams); null_queue = odp_queue_create(NULL, &qparams); CU_ASSERT(ODP_QUEUE_INVALID != null_queue); + CU_ASSERT(odp_queue_context(null_queue) == NULL);
/* Plain type queue */ odp_queue_param_init(&qparams);
commit 0c2ac5119b3015e223357d168b00515a822728cc Author: Petri Savolainen petri.savolainen@nokia.com Date: Tue Apr 16 15:40:52 2019 +0300
api: queue: context default value NULL
Highlight that queue context default value is NULL. This was defined already in odp_queue_param_t specification.
Signed-off-by: Petri Savolainen petri.savolainen@nokia.com Reviewed-by: Matias Elo matias.elo@nokia.com
diff --git a/include/odp/api/spec/queue.h b/include/odp/api/spec/queue.h index 605831c50..f40eb7afa 100644 --- a/include/odp/api/spec/queue.h +++ b/include/odp/api/spec/queue.h @@ -116,10 +116,16 @@ int odp_queue_context_set(odp_queue_t queue, void *context, uint32_t len); /** * Get queue context * + * Returns previously stored queue context pointer. The context pointer may + * be set with odp_queue_context_set() or during queue creation + * (see odp_queue_param_t). The pointer value is set to NULL by default. + * * @param queue Queue handle * * @return pointer to the queue context * @retval NULL on failure + * + * @see odp_queue_context_set(), odp_queue_create() */ void *odp_queue_context(odp_queue_t queue);
-----------------------------------------------------------------------
Summary of changes: .travis.yml | 20 +++++++++++--------- configure.ac | 2 +- include/odp/api/spec/queue.h | 6 ++++++ test/validation/api/queue/queue.c | 2 ++ 4 files changed, 20 insertions(+), 10 deletions(-)
hooks/post-receive