aboutsummaryrefslogtreecommitdiffstats
path: root/debian/tests/check-dpdk-supported-arch.sh
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tests/check-dpdk-supported-arch.sh')
-rw-r--r--debian/tests/check-dpdk-supported-arch.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/tests/check-dpdk-supported-arch.sh b/debian/tests/check-dpdk-supported-arch.sh
new file mode 100644
index 00000000..1105dc2e
--- /dev/null
+++ b/debian/tests/check-dpdk-supported-arch.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+arch=$(dpkg --print-architecture)
+case $arch in
+ amd64|arm64|i386|ppc64el)
+ echo "Architecture ${arch} supported, go on with test"
+ ;;
+ *)
+ echo "Architecture ${arch} not supported, SKIP test"
+ exit 0
+ ;;
+esac