Ubuntu Pastebin

Paste from me at Mon, 1 Jun 2015 14:39:55 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/perllib/Debian/Debhelper/Sequence/kf5.pm b/perllib/Debian/Debhelper/Sequence/kf5.pm
index e0282c1..0ca9e51 100644
--- a/perllib/Debian/Debhelper/Sequence/kf5.pm
+++ b/perllib/Debian/Debhelper/Sequence/kf5.pm
@@ -41,6 +41,15 @@ add_command_options("dh_compress",
 
 insert_after("dh_install", "dh_movelibkdeinit");
 
+# Do not run tests on PPA targetting armhf builds.
+# armhf for (public) PPAs is using qemu-arm which can absolutely not run
+# the tests as it segfaults. Supposedly because of qapp and supposedly because
+# there is a second thread involved for which qemu-arm has no support at all.
+system(("grep", "-q", "Purpose: PPA", "/CurrentlyBuilding"));
+if (($? == 0) && ($ENV{'DEB_HOST_ARCH'} == "armhf")) {
+  remove_command("dh_auto_test");
+}
+
 # Only does stuff when package opts into l10n by setting
 # X-Ubuntu-Use-Langpack: yes
 require Debian::Debhelper::Sequence::kubuntu_l10n;
Download as text