[sqitch] 02/03: Make the package autopkgtestable
Niko Tyni
ntyni at moszumanska.debian.org
Sat Sep 26 19:18:04 UTC 2015
This is an automated email from the git hooks/post-receive script.
ntyni pushed a commit to branch master
in repository sqitch.
commit 386fd2944f506ccee5c34a610499c655cbe618be
Author: Niko Tyni <ntyni at debian.org>
Date: Sat Sep 26 20:58:12 2015 +0300
Make the package autopkgtestable
---
debian/control | 1 +
debian/tests/pkg-perl/SKIP | 2 ++
debian/tests/pkg-perl/env-smoke | 2 ++
debian/tests/pkg-perl/skip-smoke | 7 +++++++
debian/tests/pkg-perl/test-files | 3 +++
5 files changed, 15 insertions(+)
diff --git a/debian/control b/debian/control
index 9cc08a0..d2849dc 100644
--- a/debian/control
+++ b/debian/control
@@ -48,6 +48,7 @@ Standards-Version: 3.9.6
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/sqitch.git
Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/sqitch.git
Homepage: http://sqitch.org/
+Testsuite: autopkgtest-pkg-perl
Package: sqitch
Architecture: all
diff --git a/debian/tests/pkg-perl/SKIP b/debian/tests/pkg-perl/SKIP
new file mode 100644
index 0000000..8141f35
--- /dev/null
+++ b/debian/tests/pkg-perl/SKIP
@@ -0,0 +1,2 @@
+# Locale-TextDomain makes 'perl -c' fail
+syntax.t
diff --git a/debian/tests/pkg-perl/env-smoke b/debian/tests/pkg-perl/env-smoke
new file mode 100644
index 0000000..6e69763
--- /dev/null
+++ b/debian/tests/pkg-perl/env-smoke
@@ -0,0 +1,2 @@
+LC_ALL=C
+HOME=${ADTTMP}
diff --git a/debian/tests/pkg-perl/skip-smoke b/debian/tests/pkg-perl/skip-smoke
new file mode 100644
index 0000000..b49363d
--- /dev/null
+++ b/debian/tests/pkg-perl/skip-smoke
@@ -0,0 +1,7 @@
+# Failed test 'Default system directory should be correct'
+# at t/configuration.t line 27.
+# got: '/etc/sqitch'
+# expected: '/usr/etc/sqitch'
+#
+# this test is skipped during build so we probably don't care
+t/configuration.t
diff --git a/debian/tests/pkg-perl/test-files b/debian/tests/pkg-perl/test-files
new file mode 100644
index 0000000..ad45b82
--- /dev/null
+++ b/debian/tests/pkg-perl/test-files
@@ -0,0 +1,3 @@
+README.md
+t
+etc
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/sqitch.git
More information about the Pkg-perl-cvs-commits
mailing list