[PATCH] debian: skip fwts-test on arm64

Keng-Yu Lin kengyu at canonical.com
Mon Mar 24 17:35:57 UTC 2014


fwts team does not have the build resource of arm64. This makes
it difficult to debug the fwts-test failures.

Temporarily just skip them until the build resource is available.

Signed-off-by: Keng-Yu Lin <kengyu at canonical.com>
---
 debian/rules | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/debian/rules b/debian/rules
index cd95821..0887c38 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,8 @@ export DEB_BUILD_HARDENING=1
 export AUTOMAKE=automake-1.11
 export ACLOCAL=aclocal-1.11
 
+DEB_BUILD_ARCH := $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+
 DEBVERS := $(shell dpkg-parsechangelog | grep ^Version: | cut -d' ' -f2 \
 		| cut -d- -f1)
 
@@ -19,6 +21,10 @@ override_dh_auto_install:
 override_dh_dkms:
 	dh_dkms -V $(VERSION)
 
+override_dh_auto_test:
+ifneq ($(DEB_BUILD_ARCH),arm64)
+	dh_auto_test $@
+endif
 
 %:
 	dh $@ --with autoreconf,dkms
-- 
1.8.1.2




More information about the fwts-devel mailing list