[SCM] giada/master: Override ${HOME} for running tests

umlaeute at users.alioth.debian.org umlaeute at users.alioth.debian.org
Sun Nov 22 23:19:30 UTC 2015


The following commit has been merged in the master branch:
commit c11264f3e19c48f87b9f0691502b979582931950
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date:   Mon Nov 23 00:08:34 2015 +0100

    Override ${HOME} for running tests

diff --git a/debian/rules b/debian/rules
index 5c7f94a..d19d5ee 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,8 +22,9 @@ override_dh_auto_configure:
 	dh_auto_configure -- --target=linux
 
 override_dh_auto_test:
-	#dh_auto_test -a || (grep . test-suite.log giada_test.log; false)
-	make check      || (grep . test-suite.log giada_test.log; false)
+	@echo home: $(HOME)
+	HOME=/tmp dh_auto_test -a || (grep . test-suite.log giada_test.log; false)
+	#make check      || (grep . test-suite.log giada_test.log; false)
 
 get-orig-source:
 	uscan --noconf --force-download --rename --download-current-version --destdir=.
@@ -36,3 +37,4 @@ get-orig-source:
 	XZ_OPT=-9 tar cJf ../$(PKG)_$(UPSTREAM_VERSION)~$(DFSG).orig.tar.xz $(PKG)-$(UPSTREAM_VERSION)~$(DFSG)
 	rm -rf $(PKG)-$(UPSTREAM_VERSION)~$(DFSG)
 	rm -rf $(PKG)_$(UPSTREAM_VERSION).orig.tar.gz
+

-- 
giada packaging



More information about the pkg-multimedia-commits mailing list