summaryrefslogtreecommitdiffstats
path: root/test/asf/test_node_variants.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/asf/test_node_variants.py')
-rw-r--r--test/asf/test_node_variants.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/asf/test_node_variants.py b/test/asf/test_node_variants.py
index c0c7cc35658..80a18eb055a 100644
--- a/test/asf/test_node_variants.py
+++ b/test/asf/test_node_variants.py
@@ -6,10 +6,15 @@ from asfframework import VppAsfTestCase
def checkX86():
- return platform.machine() in ["x86_64", "AMD64"]
+ return platform.machine() in ["x86_64", "AMD64", "amd64"]
def skipVariant(variant):
+ # TODO: We don't have cpu feature detection on FreeBSD yet, so always return
+ # that we don't have the requested variant.
+ if platform.uname().system == "FreeBSD":
+ return False
+
with open("/proc/cpuinfo") as f:
cpuinfo = f.read()