From 781931826715b2a59397b4b728208ea7dcaa6991 Mon Sep 17 00:00:00 2001 From: Dan Streetman Date: Wed, 4 Dec 2019 16:02:12 -0500 Subject: LP: #1855183 --- debian/tests/control | 4 ++-- debian/tests/killswitches-no-urfkill | 5 +++++ debian/tests/urfkill-integration | 5 +++++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/debian/tests/control b/debian/tests/control index 53184f90..dfcc44ef 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -7,9 +7,9 @@ Depends: python3, dnsmasq-base, isc-dhcp-client, gir1.2-nm-1.0, network-manager, Restrictions: needs-root isolation-machine skippable Tests: killswitches-no-urfkill -Depends: network-manager, build-essential, linux-headers-generic, rfkill +Depends: network-manager, build-essential, linux-headers-generic [!i386], rfkill Restrictions: needs-root allow-stderr isolation-machine skippable Tests: urfkill-integration -Depends: network-manager, build-essential, linux-headers-generic, rfkill, urfkill +Depends: network-manager, build-essential, linux-headers-generic [!i386], rfkill, urfkill Restrictions: needs-root allow-stderr isolation-machine skippable diff --git a/debian/tests/killswitches-no-urfkill b/debian/tests/killswitches-no-urfkill index cb01eb53..d6ef3a38 100755 --- a/debian/tests/killswitches-no-urfkill +++ b/debian/tests/killswitches-no-urfkill @@ -5,6 +5,11 @@ if dpkg --print-architecture | grep s390; then exit 77 fi +if dpkg --print-architecture | grep i386; then + echo "Skipping rfkill tests on i386 (LP: #1855183)" + exit 77 +fi + set -e make -f debian/tests/Makefile fake-rfkill diff --git a/debian/tests/urfkill-integration b/debian/tests/urfkill-integration index 034bdecc..11499db9 100644 --- a/debian/tests/urfkill-integration +++ b/debian/tests/urfkill-integration @@ -5,6 +5,11 @@ if dpkg --print-architecture | grep s390; then exit 77 fi +if dpkg --print-architecture | grep i386; then + echo "Skipping rfkill tests on i386 (LP: #1855183)" + exit 77 +fi + set -e echo "+++ Building / adding fake-rfkill.ko" -- cgit 1.3.0-6-gf8a5