aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorMaxim Uvarov <maxim.uvarov@linaro.org>2016-04-27 17:02:03 +0300
committerMaxim Uvarov <maxim.uvarov@linaro.org>2016-04-27 17:02:20 +0300
commit75d4780562e85b905f3df55d63d8edd5f69ba506 (patch)
tree816ec4c20bc2e3a13fde4a10da2379f975ff103a /example
parent35a6b55e063e799c65476333d64901a89c4a25eb (diff)
parent4834b40e7840fd23b8481b04dfff50d8fd0e1699 (diff)
Merge branch 'master' into api-next
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'example')
-rw-r--r--example/m4/configure.m42
-rw-r--r--example/switch/Makefile.am2
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