[SCM] kwidgetsaddons packaging branch, master, updated. debian/5.11.0-1-6-ga5886e3

Maximiliano Curia maxy at moszumanska.debian.org
Fri Jul 10 14:01:15 UTC 2015


Gitweb-URL: http://git.debian.org/?p=pkg-kde/frameworks/kwidgetsaddons.git;a=commitdiff;h=c806665

The following commit has been merged in the master branch:
commit c80666516d3dbb1c7bcd336ccf728c9ce7b3c18b
Author: Maximiliano Curia <maxy at gnuservers.com.ar>
Date:   Mon Jul 6 10:11:01 2015 +0200

    Disable the unittests in arm.
---
 debian/changelog | 2 +-
 debian/rules     | 7 ++++++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 558a8b3..55ecae5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,6 @@
 kwidgetsaddons (5.11.0-2~) UNRELEASED; urgency=medium
 
-  * 
+  * Disable the unittests in arm.
 
  -- Maximiliano Curia <maxy at debian.org>  Mon, 06 Jul 2015 10:10:07 +0200
 
diff --git a/debian/rules b/debian/rules
index de5e6b7..5ff8c9c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,9 +2,14 @@
 # -*- makefile -*-
 
 include /usr/share/pkg-kde-tools/qt-kde-team/3/debian-qt-kde.mk
+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
 
 override_dh_strip:
 	$(overridden_command) --dbg-package=libkf5widgetsaddons5-dbg
 
 override_dh_auto_test:
-	xvfb-run -s '-screen 0 800x600x24' -a $(overridden_command)
+	# Disable the unittests in arm, the unittests need a working display
+	# and xvfb seems to be insufficient.
+	if [ 'arm64' != "$(DEB_HOST_ARCH)" -a 'armel' != "$(DEB_HOST_ARCH)" -a 'armhf' != "$(DEB_HOST_ARCH)" ]; then \
+	    xvfb-run -s '-screen 0 800x600x24' -a $(overridden_command); \
+	fi

-- 
kwidgetsaddons packaging



More information about the pkg-kde-commits mailing list