[v1,3/3] example: traffic_mgmt: add to make check

Message ID 1507827605-6030-4-git-send-email-odpbot@yandex.ru
State New
Headers show
Series
  • make odp_tm_stats_print and fix tm example exit
Related show

Commit Message

Github ODP bot Oct. 12, 2017, 5 p.m.
From: Maxim Uvarov <maxim.uvarov@linaro.org>


add traffic_mgmt example to make check
https://bugs.linaro.org/show_bug.cgi?id=3024

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>

---
/** Email created from pull request 229 (muvarov:master_bug3024)
 ** https://github.com/Linaro/odp/pull/229
 ** Patch: https://github.com/Linaro/odp/pull/229.patch
 ** Base sha: b529f843814f70068de2090e02df632113afa800
 ** Merge commit sha: b5f6031413a826cccfaa4468b62e2f3e90a12fff
 **/
 example/traffic_mgmt/Makefile.am | 4 ++++
 1 file changed, 4 insertions(+)

Patch

diff --git a/example/traffic_mgmt/Makefile.am b/example/traffic_mgmt/Makefile.am
index c8ff79755..145065bbd 100644
--- a/example/traffic_mgmt/Makefile.am
+++ b/example/traffic_mgmt/Makefile.am
@@ -6,4 +6,8 @@  odp_traffic_mgmt_CFLAGS = $(AM_CFLAGS) -I${top_srcdir}/example
 
 noinst_HEADERS = $(top_srcdir)/example/example_debug.h
 
+if test_example
+TESTS = odp_traffic_mgmt
+endif
+
 dist_odp_traffic_mgmt_SOURCES = odp_traffic_mgmt.c