On Wed, Dec 10, 2014 at 8:14 PM, Mike Holmes <[email protected]> wrote:
> Currently a test can fail tests_gloabl_init without indicating to the user.
> This patch ensures that an indication is always given via stdout.
>
> Signed-off-by: Mike Holmes <[email protected]>

Reviewed-by: Ciprian Barbu <[email protected]>

> ---
>  test/validation/common/odp_cunit_common.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/test/validation/common/odp_cunit_common.c 
> b/test/validation/common/odp_cunit_common.c
> index 950bd18..1fc5725 100644
> --- a/test/validation/common/odp_cunit_common.c
> +++ b/test/validation/common/odp_cunit_common.c
> @@ -58,8 +58,10 @@ int main(void)
>         }
>
>         ret = tests_global_init();
> -       if (ret)
> +       if (ret) {
> +               printf("tests_global_init fail.\n");
>                 return ret;
> +       }
>
>         CU_set_error_action(CUEA_ABORT);
>
> --
> 2.1.0
>
>
> _______________________________________________
> lng-odp mailing list
> [email protected]
> http://lists.linaro.org/mailman/listinfo/lng-odp

_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to