From ce13c15ee5ac88b16b99af9f0071f4ecaff004f4 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 19 Dec 2016 16:17:00 +0000 Subject: 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 --- tests/lib | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tests/lib') diff --git a/tests/lib b/tests/lib index b033dde..d075bc7 100644 --- a/tests/lib +++ b/tests/lib @@ -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 -- cgit v1.2.3