From b7406e5f34c8615bdfaffceefb5fabf29f10772f Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Wed, 19 Sep 2018 21:32:00 +0100 Subject: [PATCH] d/rules: Make it clear that we respect nocheck option --- debian/rules | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/rules b/debian/rules index 100e0cbce0..df51739322 100755 --- a/debian/rules +++ b/debian/rules @@ -173,12 +173,14 @@ ifneq ($(filter %-udeb,$(binaries)),) endif override_dh_auto_test: +ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) # So that gsettings can find the (uninstalled) gtk schemas mkdir -p debian/build/glib-2.0/schemas/ cp gtk/org.gtk.* debian/build/glib-2.0/schemas/ glib-compile-schemas debian/build/glib-2.0/schemas/ # 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 +endif override_dh_auto_install: dh_auto_install --builddirectory=debian/build/deb --destdir=debian/install/deb