X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=test%2Fframework.py;h=8a1bfcb660b09c564c1f0ea890992872486fdf69;hb=e88865d7bc9cd45b044f8aeadf1916c38e0eb165;hp=6c1ba5e3f339d63435fcb55fd9e08e52d7fefa26;hpb=e6b58cf86affdf434a15f8833e959cded6c15784;p=vpp.git diff --git a/test/framework.py b/test/framework.py index 6c1ba5e3f33..8a1bfcb660b 100644 --- a/test/framework.py +++ b/test/framework.py @@ -193,6 +193,8 @@ class VppTestCase(unittest.TestCase): classes. It provides methods to create and run test case. """ + extra_vpp_punt_config = [] + @property def packet_infos(self): """List of packet infos""" @@ -308,6 +310,8 @@ class VppTestCase(unittest.TestCase): "{", "plugin", "dpdk_plugin.so", "{", "disable", "}", "plugin", "unittest_plugin.so", "{", "enable", "}", "}", ] + if cls.extra_vpp_punt_config is not None: + cls.vpp_cmdline.extend(cls.extra_vpp_punt_config) if plugin_path is not None: cls.vpp_cmdline.extend(["plugin_path", plugin_path]) cls.logger.info("vpp_cmdline args: %s" % cls.vpp_cmdline)