diff options
Diffstat (limited to 'debian/tests/check-dpdk-supported-arch.sh')
-rw-r--r-- | debian/tests/check-dpdk-supported-arch.sh | 12 |
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..3de6e467 --- /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) + echo "Architecture ${arch} supported, go on with test" + ;; + *) + echo "Architecture ${arch} not supported, SKIP test" + exit 0 + ;; +esac |