make test: add option for adding extra vpp config 21/16321/2
authorKlement Sekera <ksekera@cisco.com>
Mon, 3 Dec 2018 11:24:21 +0000 (12:24 +0100)
committerKlement Sekera <ksekera@cisco.com>
Mon, 17 Dec 2018 13:31:00 +0000 (14:31 +0100)
Change-Id: Ief316756635794dadf2f0f4190aa20745df5e53c
Signed-off-by: Klement Sekera <ksekera@cisco.com>
test/framework.py

index 859010c..a0dd538 100644 (file)
@@ -192,6 +192,7 @@ class VppTestCase(unittest.TestCase):
     """
 
     extra_vpp_punt_config = []
+    extra_vpp_plugin_config = []
 
     @property
     def packet_infos(self):
@@ -307,7 +308,7 @@ class VppTestCase(unittest.TestCase):
                            "{", "socket-name", cls.stats_sock, "}", "plugins",
                            "{", "plugin", "dpdk_plugin.so", "{", "disable",
                            "}", "plugin", "unittest_plugin.so", "{", "enable",
-                           "}""}", ]
+                           "}"] + cls.extra_vpp_plugin_config + ["}", ]
         if cls.extra_vpp_punt_config is not None:
             cls.vpp_cmdline.extend(cls.extra_vpp_punt_config)
         if plugin_path is not None: