diff mbox

test/cunit/Makefile.am: add checks

Message ID 1414445500-9815-2-git-send-email-anders.roxell@linaro.org
State Accepted
Commit e0a7cc269f8f766d9cbdc8aeb9eb7df0cd408e60
Headers show

Commit Message

Anders Roxell Oct. 27, 2014, 9:31 p.m. UTC
Make it possible to do make check

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
---
 test/cunit/Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

Comments

Mike Holmes Oct. 27, 2014, 11:20 p.m. UTC | #1
On 27 October 2014 17:31, Anders Roxell <anders.roxell@linaro.org> wrote:

> Make it possible to do make check
>
> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
>
Reviewed-and-Tested-by: Mike Holmes <mike.holmes@linaro.org>

> ---
>  test/cunit/Makefile.am | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/test/cunit/Makefile.am b/test/cunit/Makefile.am
> index 6bd82f6..927a5a5 100644
> --- a/test/cunit/Makefile.am
> +++ b/test/cunit/Makefile.am
> @@ -4,6 +4,8 @@ AM_CFLAGS += -I$(CUNIT_PATH)/include
>  AM_LDFLAGS += -L$(CUNIT_PATH)/lib
>
>  if ODP_CUNIT_ENABLED
> +TESTS = ${bin_PROGRAMS}
> +check_PROGRAMS = ${bin_PROGRAMS}
>  bin_PROGRAMS = odp_init
>  odp_init_LDFLAGS = $(AM_LDFLAGS) -static -lcunit
>  endif
> --
> 2.1.0
>
>
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/lng-odp
>
diff mbox

Patch

diff --git a/test/cunit/Makefile.am b/test/cunit/Makefile.am
index 6bd82f6..927a5a5 100644
--- a/test/cunit/Makefile.am
+++ b/test/cunit/Makefile.am
@@ -4,6 +4,8 @@  AM_CFLAGS += -I$(CUNIT_PATH)/include
 AM_LDFLAGS += -L$(CUNIT_PATH)/lib
 
 if ODP_CUNIT_ENABLED
+TESTS = ${bin_PROGRAMS}
+check_PROGRAMS = ${bin_PROGRAMS}
 bin_PROGRAMS = odp_init
 odp_init_LDFLAGS = $(AM_LDFLAGS) -static -lcunit
 endif