[PATCH] debian: skip fwts-test on arm64
Colin Ian King
colin.king at canonical.com
Tue Mar 25 08:07:55 UTC 2014
On 24/03/14 17:35, Keng-Yu Lin wrote:
> 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 on this. Ironically, I was able to get access to aarch64 over the
past 4 days and figure out why the tests fail. However, I think this is
a good idea until we get fwts on aarch64 to be exhaustively tested over
a few more release iterations.
Acked-by: Colin Ian King <colin.king at canonical.com>
More information about the fwts-devel
mailing list