Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
build: add ability to disable some plugins from packaging and tests
[vpp.git]
/
test
/
test_wireguard.py
diff --git
a/test/test_wireguard.py
b/test/test_wireguard.py
index
5511dc4
..
4e96792
100644
(file)
--- a/
test/test_wireguard.py
+++ b/
test/test_wireguard.py
@@
-6,6
+6,7
@@
import base64
import os
from hashlib import blake2s
import os
from hashlib import blake2s
+from config import config
from scapy.packet import Packet
from scapy.packet import Raw
from scapy.layers.l2 import Ether, ARP
from scapy.packet import Packet
from scapy.packet import Raw
from scapy.layers.l2 import Ether, ARP
@@
-509,6
+510,9
@@
def is_handshake_init(p):
return wg_p[Wireguard].message_type == 1
return wg_p[Wireguard].message_type == 1
+@unittest.skipIf(
+ "wireguard" in config.excluded_plugins, "Exclude Wireguard plugin tests"
+)
class TestWg(VppTestCase):
"""Wireguard Test Case"""
class TestWg(VppTestCase):
"""Wireguard Test Case"""
@@
-2848,6
+2852,9
@@
class WireguardHandoffTests(TestWg):
"""Multi-tunnel on the same port"""
"""Multi-tunnel on the same port"""
+@unittest.skipIf(
+ "wireguard" in config.excluded_plugins, "Exclude Wireguard plugin tests"
+)
class TestWgFIB(VppTestCase):
"""Wireguard FIB Test Case"""
class TestWgFIB(VppTestCase):
"""Wireguard FIB Test Case"""