r54282 - in /desktop/unstable/glib2.0/debian: changelog rules

smcv at users.alioth.debian.org smcv at users.alioth.debian.org
Fri Oct 6 08:23:27 UTC 2017


Author: smcv
Date: Fri Oct  6 08:23:26 2017
New Revision: 54282

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=54282
Log:
Skip build-time tests for Arch:all builds

Testing once per architecture is sufficient.

Modified:
    desktop/unstable/glib2.0/debian/changelog
    desktop/unstable/glib2.0/debian/rules

Modified: desktop/unstable/glib2.0/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/glib2.0/debian/changelog?rev=54282&op=diff
==============================================================================
--- desktop/unstable/glib2.0/debian/changelog	[utf-8] (original)
+++ desktop/unstable/glib2.0/debian/changelog	[utf-8] Fri Oct  6 08:23:26 2017
@@ -11,6 +11,8 @@
     - Note that gtk-doc-tools is still in Build-Depends, not
       Build-Depends-Indep, because we need it for autoreconf
   * Explicitly disable documentation for the udeb build
+  * Skip build-time tests for Arch:all builds - testing once per
+    architecture is sufficient
 
  -- Didier Roche <didrocks at ubuntu.com>  Thu, 05 Oct 2017 09:40:31 +0200
 

Modified: desktop/unstable/glib2.0/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/glib2.0/debian/rules?rev=54282&op=diff
==============================================================================
--- desktop/unstable/glib2.0/debian/rules	[utf-8] (original)
+++ desktop/unstable/glib2.0/debian/rules	[utf-8] Fri Oct  6 08:23:26 2017
@@ -77,13 +77,18 @@
 export DBUS_SESSION_BUS_ADDRESS=this-should-not-be-used-and-will-fail:
 
 ifeq ($(DEB_HOST_ARCH_OS), linux)
-override_dh_auto_test:
+override_dh_auto_test-arch:
 	# Remove LD_PRELOAD so we don't run with fakeroot, which makes dbus-related tests fail
 	env -u LD_PRELOAD dh_auto_test --builddirectory=debian/build/deb -- -k check -j1
 else
-override_dh_auto_test:
+override_dh_auto_test-arch:
 	env -u LD_PRELOAD dh_auto_test --builddirectory=debian/build/deb -- -k check -j1 || true
 endif
+
+# Skip build-time tests if all we are building is documentation; running
+# them once per architecture is plenty
+override_dh_auto_test-indep:
+	@:
 
 # The tests assume this directory exists and is writable
 export XDG_RUNTIME_DIR=$(CURDIR)/debian/tmp-xdg-runtime-dir




More information about the pkg-gnome-commits mailing list