Override ${HOME} for running tests
authorIOhannes m zmölnig <zmoelnig@umlautQ.umlaeute.mur.at>
Sun, 22 Nov 2015 23:08:34 +0000 (00:08 +0100)
committerIOhannes m zmölnig <zmoelnig@umlautQ.umlaeute.mur.at>
Sun, 22 Nov 2015 23:08:34 +0000 (00:08 +0100)
debian/rules

index 5c7f94ab99346072867e7e1927340f29b1bc03bc..d19d5ee9dca0bf4354bc53fa9f54affc5be5eea1 100755 (executable)
@@ -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
+