[SCM] morituri/master: Set custom $HOME during testsuite execution. Closes: bug#718132. Thanks to David Suárez and Rob Browning.
js at users.alioth.debian.org
js at users.alioth.debian.org
Sun Oct 19 20:10:18 UTC 2014
The following commit has been merged in the master branch:
commit a79e915b45b559149a40b4fd9ab53a0da2605f33
Author: Jonas Smedegaard <dr at jones.dk>
Date: Thu Oct 16 20:19:45 2014 +0200
Set custom $HOME during testsuite execution. Closes: bug#718132. Thanks to David Suárez and Rob Browning.
diff --git a/debian/rules b/debian/rules
index f742a4a..8cec61a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -37,6 +37,9 @@ DEB_MAKE_CHECK_TARGET = check
# relax testing when targeted experimental suite
DEB_MAKE_CHECK_TARGET += $(if $(shell dpkg-parsechangelog | grep -Fx 'Distribution: experimental'),|| true)
+# Hack to handle cache files during build on locked-down buildds
+$(cdbs_make_check_stamps): export HOME = $(DEB_BUILDDIR)
+
# Apparently upstream doesn't always cleanup properly
clean::
find -name *.pyc -exec rm '{}' ';'
--
morituri packaging
More information about the pkg-multimedia-commits
mailing list