diff mbox

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

Message ID 20170822082658.15594-1-paul.kocialkowski@linux.intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Paul Kocialkowki Aug. 22, 2017, 8:26 a.m. UTC
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@linux.intel.com>
---
 tests/Makefile.am | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

Comments

Lyude Paul Aug. 22, 2017, 5:29 p.m. UTC | #1
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@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
diff mbox

Patch

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