summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2018-12-03 12:24:21 +0100
committerKlement Sekera <ksekera@cisco.com>2018-12-17 14:31:00 +0100
commitb6d92d811ce39efd5276d1499afde7a1628d03ca (patch)
treec0f0081e26bcd76772ff0b42d1adcc0c27081518 /test
parentbe420e59e9590cc7ba5b4ec5a4ab4e252387bd24 (diff)
make test: add option for adding extra vpp config
Change-Id: Ief316756635794dadf2f0f4190aa20745df5e53c Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'test')
-rw-r--r--test/framework.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/framework.py b/test/framework.py
index 859010cf325..a0dd538e5b0 100644
--- a/test/framework.py
+++ b/test/framework.py
@@ -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: