diff options
author | Mike Holmes <mike.holmes@linaro.org> | 2016-04-15 14:36:05 -0400 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2016-04-27 16:51:38 +0300 |
commit | 4834b40e7840fd23b8481b04dfff50d8fd0e1699 (patch) | |
tree | 4cffc9ed623d84d8b5ec0b87423b6902789899c1 /example | |
parent | 577eb779447b889e6d34e7732576e474f47e7c70 (diff) |
configure: fix broken conditional example execution
The configure environment was incorrect and the examples always run with
make check
Signed-off-by: Mike Holmes <mike.holmes@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'example')
-rw-r--r-- | example/m4/configure.m4 | 2 | ||||
-rw-r--r-- | example/switch/Makefile.am | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/example/m4/configure.m4 b/example/m4/configure.m4 index 229fed5be..9731d81b4 100644 --- a/example/m4/configure.m4 +++ b/example/m4/configure.m4 @@ -3,7 +3,7 @@ ########################################################################## test_example=no AC_ARG_ENABLE([test-example], - [ --enable-test-example run basic test aginast examples], + [ --enable-test-example run basic test against examples], [if test "x$enableval" = "xyes"; then test_example=yes else diff --git a/example/switch/Makefile.am b/example/switch/Makefile.am index e18c681b5..4134bcf3d 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 |