r46206 - in /desktop/unstable/gnome-keyring/debian: changelog rules
mitya57 at users.alioth.debian.org
mitya57 at users.alioth.debian.org
Tue Sep 29 10:27:52 UTC 2015
Author: mitya57
Date: Tue Sep 29 10:27:52 2015
New Revision: 46206
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=46206
Log:
Set $HOME to debian/testhome when running the tests.
Modified:
desktop/unstable/gnome-keyring/debian/changelog
desktop/unstable/gnome-keyring/debian/rules
Modified: desktop/unstable/gnome-keyring/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-keyring/debian/changelog?rev=46206&op=diff
==============================================================================
--- desktop/unstable/gnome-keyring/debian/changelog [utf-8] (original)
+++ desktop/unstable/gnome-keyring/debian/changelog [utf-8] Tue Sep 29 10:27:52 2015
@@ -2,6 +2,7 @@
* New upstream release.
* Drop fix_test_import_segfault.patch, applied upstream.
+ * Set $HOME to debian/testhome when running the tests.
-- Dmitry Shachnev <mitya57 at debian.org> Mon, 28 Sep 2015 20:39:19 +0300
Modified: desktop/unstable/gnome-keyring/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-keyring/debian/rules?rev=46206&op=diff
==============================================================================
--- desktop/unstable/gnome-keyring/debian/rules [utf-8] (original)
+++ desktop/unstable/gnome-keyring/debian/rules [utf-8] Tue Sep 29 10:27:52 2015
@@ -10,9 +10,15 @@
export DEB_LDFLAGS_MAINT_APPEND := -Wl,-O1 -Wl,-z,defs -Wl,--as-needed
include /usr/share/dpkg/buildflags.mk
+TESTHOMEDIR = $(CURDIR)/debian/testhome
+
debian/stamp-makefile-check:
- -dbus-run-session -- $(MAKE) check -j1
+ mkdir -p $(TESTHOMEDIR)
+ -HOME=$(TESTHOMEDIR) dbus-run-session -- $(MAKE) check -j1
touch $@
+
+clean::
+ rm -rf $(TESTHOMEDIR)
DEB_CONFIGURE_EXTRA_FLAGS += --with-pam-dir=/lib/security \
--enable-gtk-doc \
More information about the pkg-gnome-commits
mailing list