[libglib-object-introspection-perl] 01/02: autopkgtests: build test libraries before running smoke test.

gregor herrmann gregoa at debian.org
Sat Jun 24 13:18:30 UTC 2017


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

gregoa pushed a commit to branch master
in repository libglib-object-introspection-perl.

commit 405d8e22c7215bc6c2bb575f0341a721868dbe66
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Jun 24 15:14:54 2017 +0200

    autopkgtests: build test libraries before running smoke test.
    
    Closes: #865725
---
 debian/tests/pkg-perl/smoke-env   | 1 +
 debian/tests/pkg-perl/smoke-files | 3 +++
 debian/tests/pkg-perl/smoke-setup | 5 +++++
 3 files changed, 9 insertions(+)

diff --git a/debian/tests/pkg-perl/smoke-env b/debian/tests/pkg-perl/smoke-env
new file mode 100644
index 0000000..b27bece
--- /dev/null
+++ b/debian/tests/pkg-perl/smoke-env
@@ -0,0 +1 @@
+LD_LIBRARY_PATH=$TDIR/build${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
diff --git a/debian/tests/pkg-perl/smoke-files b/debian/tests/pkg-perl/smoke-files
new file mode 100644
index 0000000..f242b73
--- /dev/null
+++ b/debian/tests/pkg-perl/smoke-files
@@ -0,0 +1,3 @@
+t/
+Makefile.PL
+lib/
diff --git a/debian/tests/pkg-perl/smoke-setup b/debian/tests/pkg-perl/smoke-setup
new file mode 100755
index 0000000..c2595f8
--- /dev/null
+++ b/debian/tests/pkg-perl/smoke-setup
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+cd $TDIR
+perl Makefile.PL 2>&1
+rm -rf lib

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libglib-object-introspection-perl.git



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