Message ID | 1455799713-4534-1-git-send-email-bala.manoharan@linaro.org |
---|---|
State | Accepted |
Commit | 3c09d6197b286ce996ae3d8030cbadbb319832cd |
Headers | show |
Ping Regards, Bala On 18 February 2016 at 18:18, Balasubramanian Manoharan < bala.manoharan@linaro.org> wrote: > Fixes: https://bugs.linaro.org/show_bug.cgi?id=2016 > > Signed-off-by: Balasubramanian Manoharan <bala.manoharan@linaro.org> > --- > test/validation/classification/odp_classification_basic.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/test/validation/classification/odp_classification_basic.c > b/test/validation/classification/odp_classification_basic.c > index 81077b6..8fbad5f 100644 > --- a/test/validation/classification/odp_classification_basic.c > +++ b/test/validation/classification/odp_classification_basic.c > @@ -215,8 +215,11 @@ void classification_test_cos_set_drop(void) > > retval = odp_cos_drop_set(cos_drop, ODP_COS_DROP_POOL); > CU_ASSERT(retval == 0); > + CU_ASSERT(ODP_COS_DROP_POOL == odp_cos_drop(cos_drop)); > + > retval = odp_cos_drop_set(cos_drop, ODP_COS_DROP_NEVER); > CU_ASSERT(retval == 0); > + CU_ASSERT(ODP_COS_DROP_NEVER == odp_cos_drop(cos_drop)); > odp_cos_destroy(cos_drop); > odp_pool_destroy(pool); > odp_queue_destroy(queue); > -- > 1.9.1 > >
On 18 February 2016 at 07:48, Balasubramanian Manoharan < bala.manoharan@linaro.org> wrote: > Fixes: https://bugs.linaro.org/show_bug.cgi?id=2016 > > Signed-off-by: Balasubramanian Manoharan Reviewed-by: Mike Holmes <Mike.holmes@linaro.org> > <bala.manoharan@linaro.org> > --- > test/validation/classification/odp_classification_basic.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/test/validation/classification/odp_classification_basic.c > b/test/validation/classification/odp_classification_basic.c > index 81077b6..8fbad5f 100644 > --- a/test/validation/classification/odp_classification_basic.c > +++ b/test/validation/classification/odp_classification_basic.c > @@ -215,8 +215,11 @@ void classification_test_cos_set_drop(void) > > retval = odp_cos_drop_set(cos_drop, ODP_COS_DROP_POOL); > CU_ASSERT(retval == 0); > + CU_ASSERT(ODP_COS_DROP_POOL == odp_cos_drop(cos_drop)); > + > retval = odp_cos_drop_set(cos_drop, ODP_COS_DROP_NEVER); > CU_ASSERT(retval == 0); > + CU_ASSERT(ODP_COS_DROP_NEVER == odp_cos_drop(cos_drop)); > odp_cos_destroy(cos_drop); > odp_pool_destroy(pool); > odp_queue_destroy(queue); > -- > 1.9.1 > > _______________________________________________ > lng-odp mailing list > lng-odp@lists.linaro.org > https://lists.linaro.org/mailman/listinfo/lng-odp > -- Mike Holmes Technical Manager - Linaro Networking Group Linaro.org <http://www.linaro.org/> *│ *Open source software for ARM SoCs "Work should be fun and collborative, the rest follows"
diff --git a/test/validation/classification/odp_classification_basic.c b/test/validation/classification/odp_classification_basic.c index 81077b6..8fbad5f 100644 --- a/test/validation/classification/odp_classification_basic.c +++ b/test/validation/classification/odp_classification_basic.c @@ -215,8 +215,11 @@ void classification_test_cos_set_drop(void) retval = odp_cos_drop_set(cos_drop, ODP_COS_DROP_POOL); CU_ASSERT(retval == 0); + CU_ASSERT(ODP_COS_DROP_POOL == odp_cos_drop(cos_drop)); + retval = odp_cos_drop_set(cos_drop, ODP_COS_DROP_NEVER); CU_ASSERT(retval == 0); + CU_ASSERT(ODP_COS_DROP_NEVER == odp_cos_drop(cos_drop)); odp_cos_destroy(cos_drop); odp_pool_destroy(pool); odp_queue_destroy(queue);
Fixes: https://bugs.linaro.org/show_bug.cgi?id=2016 Signed-off-by: Balasubramanian Manoharan <bala.manoharan@linaro.org> --- test/validation/classification/odp_classification_basic.c | 3 +++ 1 file changed, 3 insertions(+)