summaryrefslogtreecommitdiffstats
path: root/test/test_linux_cp.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_linux_cp.py')
-rw-r--r--test/test_linux_cp.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test_linux_cp.py b/test/test_linux_cp.py
index 95a9f1aca1f..84d5cb6cd88 100644
--- a/test/test_linux_cp.py
+++ b/test/test_linux_cp.py
@@ -20,6 +20,7 @@ from template_ipsec import (
IpsecTun4,
)
from test_ipsec_tun_if_esp import TemplateIpsecItf4
+from config import config
class VppLcpPair(VppObject):
@@ -51,6 +52,7 @@ class VppLcpPair(VppObject):
return False
+@unittest.skipIf("linux-cp" in config.excluded_plugins, "Exclude linux-cp plugin tests")
class TestLinuxCP(VppTestCase):
"""Linux Control Plane"""
@@ -294,6 +296,7 @@ class TestLinuxCP(VppTestCase):
tun6.unconfig_ip6()
+@unittest.skipIf("linux-cp" in config.excluded_plugins, "Exclude linux-cp plugin tests")
class TestLinuxCPIpsec(TemplateIpsec, TemplateIpsecItf4, IpsecTun4):
"""IPsec Interface IPv4"""