aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Ehrhardt <christian.ehrhardt@canonical.com>2016-09-12 12:22:47 +0200
committerChristian Ehrhardt <christian.ehrhardt@canonical.com>2016-09-12 12:22:47 +0200
commitcc19a03bf80eb09cce89ca5643ea11a784ae2d0a (patch)
treee5d104f8348dc1b295c360fa0f42e4e0ce4824c7
parente5bb026ee1736e1645b3bdf743740245f1a88a82 (diff)
d/tests: make tests compatible with ppc64el
Tests are now functional on ppc64el as well, enable them in the guarding script and d/t/control. Change-Id: I0b92ccee43cab66fdb5bbb05b79902344a899746 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
-rw-r--r--debian/tests/check-dpdk-supported-arch.sh2
-rw-r--r--debian/tests/control8
2 files changed, 5 insertions, 5 deletions
diff --git a/debian/tests/check-dpdk-supported-arch.sh b/debian/tests/check-dpdk-supported-arch.sh
index 3de6e467..1105dc2e 100644
--- a/debian/tests/check-dpdk-supported-arch.sh
+++ b/debian/tests/check-dpdk-supported-arch.sh
@@ -2,7 +2,7 @@
arch=$(dpkg --print-architecture)
case $arch in
- amd64|arm64|i386)
+ amd64|arm64|i386|ppc64el)
echo "Architecture ${arch} supported, go on with test"
;;
*)
diff --git a/debian/tests/control b/debian/tests/control
index 5afed744..4eb71038 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,13 +1,13 @@
Tests: test-initscripts
Restrictions: allow-stderr, isolation-machine, needs-root
-Depends: dpdk [amd64 arm64 i386], gawk, mount, systemd, sysvinit-utils
+Depends: dpdk [amd64 arm64 i386 ppc64el], gawk, mount, systemd, sysvinit-utils
Tests: test-linkage
Restrictions: allow-stderr
-Depends: libdpdk-dev [amd64 arm64 i386], libc6, libc6-dev, gcc,
+Depends: libdpdk-dev [amd64 arm64 i386 ppc64el], libc6, libc6-dev, gcc,
grep, libpcap-dev, libxenstore3.0 [amd64 arm64 i386], pax-utils
Tests: test-dkms
Restrictions: allow-stderr, isolation-machine, needs-root
-Depends: kmod, dpdk-igb-uio-dkms [amd64 arm64 i386],
- dpdk-rte-kni-dkms [amd64 arm64 i386]
+Depends: kmod, dpdk-igb-uio-dkms [amd64 arm64 i386 ppc64el],
+ dpdk-rte-kni-dkms [amd64 arm64 i386 ppc64el]