aboutsummaryrefslogtreecommitdiffstats
path: root/debian/tests/check-dpdk-supported-arch.sh
blob: 3de6e4672a9bef48c5c181a19b388b0b5a69d881 (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)
        echo "Architecture ${arch} supported, go on with test"
        ;;
    *)
        echo "Architecture ${arch} not supported, SKIP test"
        exit 0
        ;;
esac