diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-12-19 16:17:00 +0000 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-12-19 16:17:04 +0000 |
commit | ce13c15ee5ac88b16b99af9f0071f4ecaff004f4 (patch) | |
tree | 195d8dd3ea8d2fff79eb396b2bad57561c96ed96 /tests/lib | |
parent | f60ec72817bf5cc38a8ec83abd2e065f0433001c (diff) |
Provide and use stunt lintian and debuild
This avoids lintian complaining about our stupid test packages.
We need the stunt debuild because debuild likes to launder the
environment, removing our stunt lintian from PATH !
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests/lib')
-rw-r--r-- | tests/lib | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -759,6 +759,16 @@ t-tstunt-parsechangelog () { t-tstunt dpkg-parsechangelog Dpkg/Changelog/Parse.pm } +t-tstunt-lintian () { + t-tstunt lintian +} + +t-tstunt-debuild () { + : ${DGIT_TEST_REAL_DEBUILD:=$(type -p debuild)} + export DGIT_TEST_REAL_DEBUILD + t-tstunt debuild +} + t-incoming-dsc () { local dsc=${p}_${v}.dsc incoming_dsc=$tmp/incoming/$dsc |