diff mbox

[1/2] example: switch: run test only if configure option enable-test-example has been given

Message ID 1461750759-21543-1-git-send-email-matias.elo@nokia.com
State New
Headers show

Commit Message

Elo, Matias (Nokia - FI/Espoo) April 27, 2016, 9:52 a.m. UTC
Signed-off-by: Matias Elo <matias.elo@nokia.com>
---
 example/switch/Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

Comments

Bill Fischofer April 27, 2016, 11:47 a.m. UTC | #1
For this series:

Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>


On Wed, Apr 27, 2016 at 4:52 AM, Matias Elo <matias.elo@nokia.com> wrote:

> Signed-off-by: Matias Elo <matias.elo@nokia.com>

> ---

>  example/switch/Makefile.am | 2 ++

>  1 file changed, 2 insertions(+)

>

> diff --git a/example/switch/Makefile.am b/example/switch/Makefile.am

> index e18c681..4134bcf 100644

> --- a/example/switch/Makefile.am

> +++ b/example/switch/Makefile.am

> @@ -9,7 +9,9 @@ noinst_HEADERS = \

>

>  dist_odp_switch_SOURCES = odp_switch.c

>

> +if test_example

>  if HAVE_PCAP

>  TESTS = switch_run.sh

>  endif

> +endif

>  EXTRA_DIST = switch_run.sh udp64.pcap

> --

> 1.9.1

>

> _______________________________________________

> lng-odp mailing list

> lng-odp@lists.linaro.org

> https://lists.linaro.org/mailman/listinfo/lng-odp

>
Maxim Uvarov April 27, 2016, 3:34 p.m. UTC | #2
Merged,
Maxim.

On 04/27/16 14:47, Bill Fischofer wrote:
> For this series:
>
> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org 
> <mailto:bill.fischofer@linaro.org>>
>
> On Wed, Apr 27, 2016 at 4:52 AM, Matias Elo <matias.elo@nokia.com 
> <mailto:matias.elo@nokia.com>> wrote:
>
>     Signed-off-by: Matias Elo <matias.elo@nokia.com
>     <mailto:matias.elo@nokia.com>>
>     ---
>      example/switch/Makefile.am | 2 ++
>      1 file changed, 2 insertions(+)
>
>     diff --git a/example/switch/Makefile.am b/example/switch/Makefile.am
>     index e18c681..4134bcf 100644
>     --- a/example/switch/Makefile.am
>     +++ b/example/switch/Makefile.am
>     @@ -9,7 +9,9 @@ noinst_HEADERS = \
>
>      dist_odp_switch_SOURCES = odp_switch.c
>
>     +if test_example
>      if HAVE_PCAP
>      TESTS = switch_run.sh
>      endif
>     +endif
>      EXTRA_DIST = switch_run.sh udp64.pcap
>     --
>     1.9.1
>
>     _______________________________________________
>     lng-odp mailing list
>     lng-odp@lists.linaro.org <mailto:lng-odp@lists.linaro.org>
>     https://lists.linaro.org/mailman/listinfo/lng-odp
>
>
>
>
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> https://lists.linaro.org/mailman/listinfo/lng-odp
diff mbox

Patch

diff --git a/example/switch/Makefile.am b/example/switch/Makefile.am
index e18c681..4134bcf 100644
--- a/example/switch/Makefile.am
+++ b/example/switch/Makefile.am
@@ -9,7 +9,9 @@  noinst_HEADERS = \
 
 dist_odp_switch_SOURCES = odp_switch.c
 
+if test_example
 if HAVE_PCAP
 TESTS = switch_run.sh
 endif
+endif
 EXTRA_DIST = switch_run.sh udp64.pcap