[SCM] branch, master, updated. debian/0.45-1-7-g7f0c701
Harlan Lieberman-Berg
H.LiebermanBerg at gmail.com
Fri Oct 19 22:24:46 UTC 2012
The following commit has been merged in the master branch:
commit 7f0c70155ce8c5b9b57e85f9b788d80b024fd6ba
Author: Harlan Lieberman-Berg <H.LiebermanBerg at gmail.com>
Date: Fri Oct 19 18:28:21 2012 -0400
d/*: Enable test suite
diff --git a/debian/changelog b/debian/changelog
index df3266d..c1965ea 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,8 +4,9 @@ libmongodb-perl (0.46.3-1) UNRELEASED; urgency=low
* New upstream release.
* Bump debhelper compatibility level to 9 for hardening support.
* debian/copyright: Update formatting to v1.0 format.
+ * Enable test suite
- -- Harlan Lieberman-Berg <H.LiebermanBerg at gmail.com> Fri, 19 Oct 2012 16:08:52 -0400
+ -- Harlan Lieberman-Berg <H.LiebermanBerg at gmail.com> Fri, 19 Oct 2012 18:27:52 -0400
libmongodb-perl (0.45-1) unstable; urgency=low
diff --git a/debian/control b/debian/control
index 0747964..377899d 100644
--- a/debian/control
+++ b/debian/control
@@ -16,7 +16,8 @@ Build-Depends: debhelper (>= 9.20120312),
libtest-exception-perl,
libtie-ixhash-perl,
libtry-tiny-perl,
- libtest-warn-perl
+ libtest-warn-perl,
+ mongodb-server
Standards-Version: 3.9.3
Homepage: http://search.cpan.org/dist/MongoDB/
Vcs-Git: git://git.debian.org/pkg-perl/packages/libmongodb-perl.git
diff --git a/debian/rules b/debian/rules
index 2d33f6a..eb4c9ac 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,16 @@
#!/usr/bin/make -f
+BUILDHOME = $(CURDIR)/debian/build
+
%:
dh $@
+
+override_dh_auto_test:
+ mkdir -p $(BUILDHOME)
+ mongod --dbpath $(BUILDHOME) --noprealloc --nojournal --quiet >/dev/null 2>&1 &
+ sleep 10
+ dh_auto_test
+
+override_dh_clean:
+ dh_clean
+ rm -rf $(BUILDHOME)
\ No newline at end of file
--
More information about the Pkg-perl-cvs-commits
mailing list