aboutsummaryrefslogtreecommitdiffstats
path: root/debian/tests/check-dpdk-supported-arch.sh
blob: 1105dc2edf4dd4f7ab7f47b715f228efbfbffcf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
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