aboutsummaryrefslogtreecommitdiffstats
path: root/test/framework.py
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2018-07-23 18:00:54 -0400
committerFlorin Coras <florin.coras@gmail.com>2018-07-24 16:45:53 +0000
commit8b5dc4fd5e6698870ca33f50079b7277aa11f24e (patch)
tree84ab955cbd72b92359e1e695b3478c4a872e6ae6 /test/framework.py
parent16782368979b3af7918e54b6998c0b14dbb16da2 (diff)
Create a unit-test plugin
Move the tcp unit test to the plugin Add a bihash unit test and a "make test" program to call it Adjust framework.py to load the plugin, which is disabled by default Change-Id: Ic229d386a56a9d28dbd54974f231149053ca8f93 Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'test/framework.py')
-rw-r--r--test/framework.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/framework.py b/test/framework.py
index d0191c0dd45..4f7c76a6939 100644
--- a/test/framework.py
+++ b/test/framework.py
@@ -246,7 +246,8 @@ class VppTestCase(unittest.TestCase):
coredump_size, "}", "api-trace", "{", "on", "}",
"api-segment", "{", "prefix", cls.shm_prefix, "}",
"plugins", "{", "plugin", "dpdk_plugin.so", "{",
- "disable", "}", "}", ]
+ "disable", "}", "plugin", "unittest_plugin.so",
+ "{", "enable", "}", "}", ]
if plugin_path is not None:
cls.vpp_cmdline.extend(["plugin_path", plugin_path])
cls.logger.info("vpp_cmdline: %s" % cls.vpp_cmdline)