[libdbd-pg-perl] 04/05: debian/rules: reenable tests which were skipped.

gregor herrmann gregoa at debian.org
Sun Apr 13 17:28:22 UTC 2014


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libdbd-pg-perl.

commit e0c3196025b205829461402fccae41b98cf828d7
Author: gregor herrmann <gregoa at debian.org>
Date:   Sun Apr 13 19:26:17 2014 +0200

    debian/rules: reenable tests which were skipped.
    
    + Tell testsuite where initdb is.
    + Run test as user that builds the package.
---
 debian/rules | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/debian/rules b/debian/rules
index 87757c6..959b886 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,10 +2,15 @@
 
 PG_INCLUDEDIR = $(shell pg_config --includedir)
 PG_LIBDIR = $(shell pg_config --libdir)
+PG_BINDIR = $(shell pg_config --bindir)
 
 export POSTGRES_INCLUDE=$(PG_INCLUDEDIR)
 export POSTGRES_LIB=$(PG_LIBDIR)
+export DBDPG_INITDB=$(PG_BINDIR)/initdb
 export LC_ALL=C
 
 %:
 	dh $@ --with perl_dbi
+
+override_dh_auto_test:
+	USER=$(shell whoami) dh_auto_test

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdbd-pg-perl.git



More information about the Pkg-perl-cvs-commits mailing list