[Pkg-ocaml-maint-commits] [SCM] obus packaging branch, master, updated. debian/1.1.2-1-2-gb429870
Nicolas Dandrimont
Nicolas.Dandrimont at crans.org
Sun Jun 12 22:52:26 UTC 2011
The following commit has been merged in the master branch:
commit b4298707966bd5699466e45ee0843199a0cde804
Author: Nicolas Dandrimont <Nicolas.Dandrimont at crans.org>
Date: Mon Jun 13 00:50:57 2011 +0200
Use a temporary $HOME for the tests (Closes: #630322)
diff --git a/debian/changelog b/debian/changelog
index 5f324d1..449ee1f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,9 @@
obus (1.1.2-2) unstable; urgency=low
* Add a timeout instead of disabling tests
+ * Make the tests use a temporary directory as $HOME (Closes: #630322)
- -- Nicolas Dandrimont <nicolas.dandrimont at crans.org> Sun, 12 Jun 2011 18:04:01 +0200
+ -- Nicolas Dandrimont <nicolas.dandrimont at crans.org> Mon, 13 Jun 2011 00:49:35 +0200
obus (1.1.2-1) unstable; urgency=low
diff --git a/debian/rules b/debian/rules
index 31a515c..7891b3e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,7 +19,9 @@ override_dh_auto_build:
.PHONY: override_dh_auto_test
override_dh_auto_test:
- ocaml setup.ml -test
+ mkdir -p $(CURDIR)/debian/tmp_home
+ HOME=$(CURDIR)/debian/tmp_home ocaml setup.ml -test
+ rm -r $(CURDIR)/debian/tmp_home
.PHONY: override_dh_auto_install
override_dh_auto_install:
--
obus packaging
More information about the Pkg-ocaml-maint-commits
mailing list