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>
This commit is contained in:

committed by
Florin Coras

parent
1678236897
commit
8b5dc4fd5e
@ -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)
|
||||
|
Reference in New Issue
Block a user