[libffi-platypus-perl] 01/01: Fix autopkgtest setup

Niko Tyni ntyni at moszumanska.debian.org
Tue Jul 5 17:20:46 UTC 2016


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

ntyni pushed a commit to branch master
in repository libffi-platypus-perl.

commit a860dba6e8858db80cb3c4d31b66c03a979d4054
Author: Niko Tyni <ntyni at debian.org>
Date:   Tue Jul 5 18:33:43 2016 +0200

    Fix autopkgtest setup
    
    We need to build libtest.so in the target directory,
    not the original source tree.
    
    inc/ shouldn't be needed on @INC, Module::Build looks
    there by itself.
    
    Closes: #829553
---
 debian/tests/pkg-perl/smoke-env   | 1 -
 debian/tests/pkg-perl/smoke-files | 2 ++
 debian/tests/pkg-perl/smoke-setup | 2 ++
 3 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/tests/pkg-perl/smoke-env b/debian/tests/pkg-perl/smoke-env
deleted file mode 100644
index 14e27b9..0000000
--- a/debian/tests/pkg-perl/smoke-env
+++ /dev/null
@@ -1 +0,0 @@
-PERL5LIB=inc
diff --git a/debian/tests/pkg-perl/smoke-files b/debian/tests/pkg-perl/smoke-files
index 9536e74..546ae80 100644
--- a/debian/tests/pkg-perl/smoke-files
+++ b/debian/tests/pkg-perl/smoke-files
@@ -2,3 +2,5 @@ t/
 libtest/
 lib/Module/Build/
 inc/
+Build.PL
+include/
diff --git a/debian/tests/pkg-perl/smoke-setup b/debian/tests/pkg-perl/smoke-setup
index 26ef6c4..80f0d36 100755
--- a/debian/tests/pkg-perl/smoke-setup
+++ b/debian/tests/pkg-perl/smoke-setup
@@ -1,5 +1,7 @@
 #!/bin/sh
 
+cd $TDIR
+
 perl Build.PL
 
 # this does not work:

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



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