[Reproducible-commits] [dpkg] 59/74: test: Accept perl's Lancaster Consensus AUTHOR_TESTING variable
Mattia Rizzolo
mattia at debian.org
Sun Jul 3 22:22:57 UTC 2016
This is an automated email from the git hooks/post-receive script.
mattia pushed a commit to annotated tag 1.18.8
in repository dpkg.
commit 2b1b5e2ec413c077068ec838ea7b82cc6fb7ba37
Author: Guillem Jover <guillem at debian.org>
Date: Thu Jun 16 19:56:24 2016 +0200
test: Accept perl's Lancaster Consensus AUTHOR_TESTING variable
This is the variable perl developers expect when running author or
developer tests, honour it to make people's life easier.
---
README | 6 +++---
debian/changelog | 1 +
scripts/Test/Dpkg.pm | 2 +-
3 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/README b/README
index 5254912..f9cdca1 100644
--- a/README
+++ b/README
@@ -82,9 +82,9 @@ To run the test suite («make check»):
aspell (optional, author)
aspell-en (optional, author)
- Define the environment variable DPKG_DEVEL_MODE to run the test suite
- in development mode, to include tests that might not be pertinent during
- normal release builds.
+ Define the environment variable DPKG_DEVEL_MODE or AUTHOR_TESTING to run
+ the test suite in development mode, to include tests that might not be
+ pertinent during normal release builds.
To enable additional developer's documentation («make doc») this software
will be needed:
diff --git a/debian/changelog b/debian/changelog
index e0483c9..6b5c2e7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -77,6 +77,7 @@ dpkg (1.18.8) UNRELEASED; urgency=medium
to 99999.
- Add new pod-spell unit test.
- Refactor common unit test checks for needed things into Test::Dpkg.
+ - Accept perl's Lancaster Consensus AUTHOR_TESTING variable.
* Documentation:
- Improve dpkg-buildpackage(1) on environment expectations.
- Clarify the format of the db:Status-Abbrev virtual field in
diff --git a/scripts/Test/Dpkg.pm b/scripts/Test/Dpkg.pm
index 48b04c6..6d7b1ca 100644
--- a/scripts/Test/Dpkg.pm
+++ b/scripts/Test/Dpkg.pm
@@ -54,7 +54,7 @@ sub all_perl_files
sub test_needs_author
{
- if (not $ENV{DPKG_DEVEL_MODE}) {
+ if (not $ENV{DPKG_DEVEL_MODE} and not $ENV{AUTHOR_TESTING}) {
plan skip_all => 'developer test';
}
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dpkg.git
More information about the Reproducible-commits
mailing list