summaryrefslogtreecommitdiff
path: root/tests/tests
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2015-05-30 13:28:21 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2015-05-31 12:21:36 +0100
commitcbe483c32df06d2babbcf99d7ee947c645e7aea3 (patch)
treefb1fc8ce3e1836ede7445a374afbfa9e0776c9a6 /tests/tests
parent7fc714261baac8630925cd57ab5408ea33a444c4 (diff)
Test suite: Use stunt dpkg-parsechangelog
This program takes 16ms instead of ~700ms on my computer. This saves 15s out of 100s for the debpolicy-newreject test (in its current state). Currently this is only used by various things in devscripts because dpkg-source uses /usr/lib/dpkg/parsechangelog/debian directly via a Perl module Dpkg::Changelog::Parse.
Diffstat (limited to 'tests/tests')
-rwxr-xr-xtests/tests/debpolicy-newreject2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/tests/debpolicy-newreject b/tests/tests/debpolicy-newreject
index f161149..c6260a7 100755
--- a/tests/tests/debpolicy-newreject
+++ b/tests/tests/debpolicy-newreject
@@ -2,6 +2,8 @@
set -e
. tests/lib
+t-tstunt dpkg-parsechangelog
+
t-debpolicy
t-prep-newpackage example 1.0