diff mbox

[RFC] helper: test: call platform's wrapper script

Message ID 1450463519-24402-1-git-send-email-zoltan.kiss@linaro.org
State New
Headers show

Commit Message

Zoltan Kiss Dec. 18, 2015, 6:31 p.m. UTC
This is the last missing bit for ODP-DPDK to a clean CI run. The helper tests
need the wrapper to set up the platform, but this is just a quick hack.
How can we import the LOG_COMPILER from platform/[platform]/test/Makefile.am?
It would be good to have a generic solution here so we don't need to deviate
from odp.git.

Signed-off-by: Zoltan Kiss <zoltan.kiss@linaro.org>

Comments

Zoltan Kiss Dec. 21, 2015, 5:36 p.m. UTC | #1
Never mind, I've solved it:

https://lists.linaro.org/pipermail/lng-odp-dpdk/2015-December/001251.html

On 18/12/15 18:31, Zoltan Kiss wrote:
> This is the last missing bit for ODP-DPDK to a clean CI run. The helper tests
> need the wrapper to set up the platform, but this is just a quick hack.
> How can we import the LOG_COMPILER from platform/[platform]/test/Makefile.am?
> It would be good to have a generic solution here so we don't need to deviate
> from odp.git.
>
> Signed-off-by: Zoltan Kiss <zoltan.kiss@linaro.org>
>
> diff --git a/helper/test/Makefile.am b/helper/test/Makefile.am
> index d6820e1..b90df00 100644
> --- a/helper/test/Makefile.am
> +++ b/helper/test/Makefile.am
> @@ -5,6 +5,7 @@ AM_LDFLAGS += -static
>
>   TESTS_ENVIRONMENT += TEST_DIR=${builddir}
>
> +LOG_COMPILER = $(top_srcdir)/@platform_with_platform_test@/wrapper-script.sh
>   EXECUTABLES = odp_chksum$(EXEEXT) \
>                 odp_thread$(EXEEXT) \
>                 odp_process$(EXEEXT)\
>
diff mbox

Patch

diff --git a/helper/test/Makefile.am b/helper/test/Makefile.am
index d6820e1..b90df00 100644
--- a/helper/test/Makefile.am
+++ b/helper/test/Makefile.am
@@ -5,6 +5,7 @@  AM_LDFLAGS += -static
 
 TESTS_ENVIRONMENT += TEST_DIR=${builddir}
 
+LOG_COMPILER = $(top_srcdir)/@platform_with_platform_test@/wrapper-script.sh
 EXECUTABLES = odp_chksum$(EXEEXT) \
               odp_thread$(EXEEXT) \
               odp_process$(EXEEXT)\