[libpkgconfig-perl] 02/07: Test script patch to run test scripts with adt-run

Wolfgang Fütterer debian at wlf-online.de
Thu Nov 5 08:11:06 UTC 2015


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

wlfuetter-guest pushed a commit to branch master
in repository libpkgconfig-perl.

commit 5c6b62773a7935eab6545fe6b54d37af6b1e25d4
Author: Wolfgang Fütterer <debian at wlf-online.de>
Date:   Wed Nov 4 14:26:31 2015 +0100

    Test script patch to run test scripts with adt-run
---
 ...djust-path-to-ppkg-config-in-test-scripts.patch | 27 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 28 insertions(+)

diff --git a/debian/patches/0001-Adjust-path-to-ppkg-config-in-test-scripts.patch b/debian/patches/0001-Adjust-path-to-ppkg-config-in-test-scripts.patch
new file mode 100644
index 0000000..34a6d10
--- /dev/null
+++ b/debian/patches/0001-Adjust-path-to-ppkg-config-in-test-scripts.patch
@@ -0,0 +1,27 @@
+From: =?utf-8?q?Wolfgang_F=C3=BCtterer?= <debian at wlf-online.de>
+Date: Wed, 4 Nov 2015 13:55:38 +0100
+Subject: Adjust path to ppkg-config in test scripts
+
+---
+ t/PkgConfigTest.pm | 6 +++++-
+ 1 file changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/t/PkgConfigTest.pm b/t/PkgConfigTest.pm
+index 5bbc6ba..c9e7d3d 100644
+--- a/t/PkgConfigTest.pm
++++ b/t/PkgConfigTest.pm
+@@ -43,7 +43,13 @@ $ENV{PKG_CONFIG_PATH} = join($Config{path_sep}, @PC_PATHS);
+ our $RV;
+ our $S;
+ 
+-my $SCRIPT = $FindBin::Bin . "/../script/ppkg-config";
++my $SCRIPT;
++if  ($ENV{ADTTMP}){
++    $SCRIPT="/usr/bin/ppkg-config";
++}
++else{
++    $SCRIPT = $FindBin::Bin . "/../script/ppkg-config";
++}
+ 
+ # Work around git on windows' lamentable lack of symbolic
+ # link support
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..e5b8eb3
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Adjust-path-to-ppkg-config-in-test-scripts.patch

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



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