diff mbox

validation: init: don't execute termination if init failed

Message ID 1419872035-12731-3-git-send-email-taras.kondratiuk@linaro.org
State Accepted
Commit 99166ecdf4dac947f5b7fef52b0d7ce90490b289
Headers show

Commit Message

Taras Kondratiuk Dec. 29, 2014, 4:53 p.m. UTC
Signed-off-by: Taras Kondratiuk <taras.kondratiuk@linaro.org>
---
 test/validation/odp_init.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Anders Roxell Jan. 5, 2015, 11:52 p.m. UTC | #1
On 2014-12-29 18:53, Taras Kondratiuk wrote:
> Signed-off-by: Taras Kondratiuk <taras.kondratiuk@linaro.org>

Reviewed-by: Anders Roxell <anders.roxell@linaro.org>

> ---
>  test/validation/odp_init.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/test/validation/odp_init.c b/test/validation/odp_init.c
> index 5a17ce9..5277d68 100644
> --- a/test/validation/odp_init.c
> +++ b/test/validation/odp_init.c
> @@ -14,7 +14,7 @@ static void test_odp_init_global(void)
>  {
>  	int status;
>  	status = odp_init_global(NULL, NULL);
> -	CU_ASSERT(status == 0);
> +	CU_ASSERT_FATAL(status == 0);
>  
>  	status = odp_term_global();
>  	CU_ASSERT(status == 0);
> -- 
> 1.9.1
> 
> 
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/lng-odp
Mike Holmes Jan. 6, 2015, 1:07 p.m. UTC | #2
Applied

On 5 January 2015 at 18:52, Anders Roxell <anders.roxell@linaro.org> wrote:

> On 2014-12-29 18:53, Taras Kondratiuk wrote:
> > Signed-off-by: Taras Kondratiuk <taras.kondratiuk@linaro.org>
>
> Reviewed-by: Anders Roxell <anders.roxell@linaro.org>
>
> > ---
> >  test/validation/odp_init.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/test/validation/odp_init.c b/test/validation/odp_init.c
> > index 5a17ce9..5277d68 100644
> > --- a/test/validation/odp_init.c
> > +++ b/test/validation/odp_init.c
> > @@ -14,7 +14,7 @@ static void test_odp_init_global(void)
> >  {
> >       int status;
> >       status = odp_init_global(NULL, NULL);
> > -     CU_ASSERT(status == 0);
> > +     CU_ASSERT_FATAL(status == 0);
> >
> >       status = odp_term_global();
> >       CU_ASSERT(status == 0);
> > --
> > 1.9.1
> >
> >
> > _______________________________________________
> > lng-odp mailing list
> > lng-odp@lists.linaro.org
> > http://lists.linaro.org/mailman/listinfo/lng-odp
>
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/lng-odp
>
diff mbox

Patch

diff --git a/test/validation/odp_init.c b/test/validation/odp_init.c
index 5a17ce9..5277d68 100644
--- a/test/validation/odp_init.c
+++ b/test/validation/odp_init.c
@@ -14,7 +14,7 @@  static void test_odp_init_global(void)
 {
 	int status;
 	status = odp_init_global(NULL, NULL);
-	CU_ASSERT(status == 0);
+	CU_ASSERT_FATAL(status == 0);
 
 	status = odp_term_global();
 	CU_ASSERT(status == 0);