[Intel-gfx] [PATCH i-g-t] tests/Makefile.am: Wrap audio test with dedicated conditional

Lyude Paul lyude at redhat.com
Tue Aug 22 17:29:24 UTC 2017


r-b'd and pushed, thanks!

On Tue, 2017-08-22 at 11:26 +0300, Paul Kocialkowski wrote:
> This uses the dedicated HAVE_AUDIO conditional, that depends on both
> ALSA and GSL, for wrapping the audio test. This makes the wrapping
> consistent with what is done for the chamelium test.
> 
> Signed-off-by: Paul Kocialkowski <paul.kocialkowski at linux.intel.com>
> ---
>  tests/Makefile.am | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/tests/Makefile.am b/tests/Makefile.am
> index 471f3818..726e2b27 100644
> --- a/tests/Makefile.am
> +++ b/tests/Makefile.am
> @@ -20,13 +20,11 @@ TESTS_progs += \
>  	$(NULL)
>  endif
>  
> -if HAVE_ALSA
> -if HAVE_GSL
> +if HAVE_AUDIO
>  TESTS_progs += \
>  	audio \
>  	$(NULL)
>  endif
> -endif
>  
>  
>  if BUILD_TESTS


More information about the Intel-gfx mailing list