[libapache-ssllookup-perl] 01/02: Fixed autopkgtests (for real hopefully this time)

Christopher Hoskin christopher.hoskin at gmail.com
Mon Mar 16 22:25:33 UTC 2015


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

grinorcole-guest pushed a commit to branch master
in repository libapache-ssllookup-perl.

commit 0ef9e70e80676d3628188cf7acbd363070ef6cdf
Author: Christopher Hoskin <christopher.hoskin at gmail.com>
Date:   Mon Mar 16 22:20:21 2015 +0000

    Fixed autopkgtests (for real hopefully this time)
---
 debian/TEST                      | 26 ++++++++++++++++++++++++++
 debian/tests/control             |  2 +-
 debian/tests/custom-smoke        |  5 +++++
 debian/tests/pkg-perl/test-files |  1 +
 4 files changed, 33 insertions(+), 1 deletion(-)

diff --git a/debian/TEST b/debian/TEST
new file mode 100644
index 0000000..df4e9dc
--- /dev/null
+++ b/debian/TEST
@@ -0,0 +1,26 @@
+#!/usr/bin/perl
+# WARNING: this file is generated, do not edit
+# generated on Sun Mar 15 14:42:39 2015
+# 01: /usr/lib/x86_64-linux-gnu/perl5/5.20/Apache/TestConfig.pm:961
+# 02: /usr/lib/x86_64-linux-gnu/perl5/5.20/Apache/TestConfig.pm:1051
+# 03: /usr/lib/x86_64-linux-gnu/perl5/5.20/Apache/TestRun.pm:1116
+# 04: Makefile.PL:11
+
+BEGIN { eval { require blib && blib->import; } }
+
+use strict;
+use warnings FATAL => 'all';
+
+use lib qw(
+);
+
+
+use Apache::TestRunPerl ();
+
+package Apache::TestRunPerl;
+sub bug_report { print '+-------------------------------------------------------------------+
+| this module is experimental, use at your own risk                 |
++-------------------------------------------------------------------+
+' }
+
+Apache::TestRunPerl->new->run(@ARGV);
diff --git a/debian/tests/control b/debian/tests/control
index c3b42a4..cfacec7 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,5 +1,5 @@
 #Replace usual build-deps (which runs smoke tests) with custom
-Test-Command: t/TEST -httpd_conf ../debian/apache2.conf
+Tests: custom-smoke
 Depends: @, @builddeps@
 Restrictions: allow-stderr
 
diff --git a/debian/tests/custom-smoke b/debian/tests/custom-smoke
new file mode 100644
index 0000000..c7f068f
--- /dev/null
+++ b/debian/tests/custom-smoke
@@ -0,0 +1,5 @@
+#!/bin/sh
+mkdir t/logs
+cp debian/TEST t/TEST
+chmod u+x t/TEST
+t/TEST -httpd_conf `pwd`/debian/apache2.conf -bugreport -verbose=0
diff --git a/debian/tests/pkg-perl/test-files b/debian/tests/pkg-perl/test-files
index 2474e1d..b50098c 100644
--- a/debian/tests/pkg-perl/test-files
+++ b/debian/tests/pkg-perl/test-files
@@ -1,2 +1,3 @@
 t/
 debian/apache2.conf
+debian/TEST

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



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