[Pkg-owncloud-commits] [owncloud-client] 03/06: moved dh_auto_test after build

Sandro Knauß hefee at debian.org
Fri Sep 29 20:25:30 UTC 2017


This is an automated email from the git hooks/post-receive script.

hefee pushed a commit to branch master
in repository owncloud-client.

commit df46c309f989f4618f80711ea9bf32668885778e
Author: Sandro Knauß <hefee at debian.org>
Date:   Sun Sep 10 17:38:43 2017 +0200

    moved dh_auto_test after build
---
 debian/rules | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

diff --git a/debian/rules b/debian/rules
index 624c93a..3a39389 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,15 +8,6 @@ include /usr/share/dpkg/default.mk
 %:
 	dh $@ --with sphinxdoc --with pkgkde_symbolshelper --with python3
 
-override_dh_auto_test:
-ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
-	mkdir obj-$(DEB_HOST_GNU_TYPE)/config
-	XDG_CONFIG_HOME=$(CURDIR)/obj-$(DEB_HOST_GNU_TYPE)/config xvfb-run -- dh_auto_test --no-parallel
-	rm -r obj-$(DEB_HOST_GNU_TYPE)/config
-else
-	@echo "** tests disabled"
-endif
-
 override_dh_auto_configure:
 	dh_auto_configure -- -DCMAKE_INSTALL_PREFIX=/usr -DUNIT_TESTING=ON -DDEBIAN_VERSION=$(DEB_VERSION) -DPLUGIN_INSTALL_DIR=/usr/lib/$(DEB_HOST_GNU_TYPE)/qt5/plugins
 
@@ -27,6 +18,17 @@ override_dh_auto_build-arch:
 	dh_auto_build -- doc-man
 	dh_auto_build --
 
+override_dh_auto_test-arch:
+ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
+	mkdir obj-$(DEB_HOST_GNU_TYPE)/config
+	XDG_CONFIG_HOME=$(CURDIR)/obj-$(DEB_HOST_GNU_TYPE)/config xvfb-run -- dh_auto_test --no-parallel
+	rm -r obj-$(DEB_HOST_GNU_TYPE)/config
+else
+	@echo "** tests disabled"
+endif
+
+override_dh_auto_test-indep:
+
 override_dh_missing:
 	dh_missing --list-missing
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list