[libcamera-devel] [PATCH] test: Allow self-contained tests to run in parallel

Laurent Pinchart laurent.pinchart at ideasonboard.com
Thu Jul 4 10:30:07 CEST 2019


Hi Niklas,

Thank you for the patch.

On Thu, Jul 04, 2019 at 03:26:56AM +0200, Niklas Söderlund wrote:
> The IPA, IPC and Stream tests are self-contained so they can run in
> parallel.
> 
> Signed-off-by: Niklas Söderlund <niklas.soderlund at ragnatech.se>

Reviewed-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>

> ---
>  test/ipa/meson.build    | 2 +-
>  test/ipc/meson.build    | 2 +-
>  test/stream/meson.build | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/test/ipa/meson.build b/test/ipa/meson.build
> index bca39fa3f6d06ae4..1749ab7d43381fd7 100644
> --- a/test/ipa/meson.build
> +++ b/test/ipa/meson.build
> @@ -8,5 +8,5 @@ foreach t : ipa_test
>                       link_with : test_libraries,
>                       include_directories : test_includes_internal)
>  
> -    test(t[0], exe, suite : 'ipa', is_parallel : false)
> +    test(t[0], exe, suite : 'ipa')
>  endforeach
> diff --git a/test/ipc/meson.build b/test/ipc/meson.build
> index ca8375f35df91731..cc46b41c76870def 100644
> --- a/test/ipc/meson.build
> +++ b/test/ipc/meson.build
> @@ -8,5 +8,5 @@ foreach t : ipc_tests
>                       link_with : test_libraries,
>                       include_directories : test_includes_internal)
>  
> -    test(t[0], exe, suite : 'ipc', is_parallel : false)
> +    test(t[0], exe, suite : 'ipc')
>  endforeach
> diff --git a/test/stream/meson.build b/test/stream/meson.build
> index 2f2493de38ae0954..005f4aa4996ad563 100644
> --- a/test/stream/meson.build
> +++ b/test/stream/meson.build
> @@ -7,5 +7,5 @@ foreach t : stream_tests
>                     dependencies : libcamera_dep,
>                     link_with : test_libraries,
>                     include_directories : test_includes_internal)
> -  test(t[0], exe, suite: 'stream', is_parallel: false)
> +  test(t[0], exe, suite: 'stream')
>  endforeach

-- 
Regards,

Laurent Pinchart


More information about the libcamera-devel mailing list