summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2018-08-26 12:52:08 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2018-08-26 13:34:30 +0100
commit48cd6449acfebc08b1ba2c00871737759c285216 (patch)
tree08017667ee73afc8ecc43b6dadd45d970e9acb65
parent619af9fef4fd443185f58370f95c49fb123c3376 (diff)
test suite: build-modes-*: Provide stunt dpkg-deb to pass -Znone
This speeds it up from about 105 seconds to about 90, on my laptop. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
-rw-r--r--tests/lib-build-modes1
-rwxr-xr-xtests/tstunt/dpkg-deb4
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/lib-build-modes b/tests/lib-build-modes
index 115ee71..dbceb42 100644
--- a/tests/lib-build-modes
+++ b/tests/lib-build-modes
@@ -14,6 +14,7 @@ END
bm-prep () {
t-tstunt-parsechangelog
+ t-tstunt dpkg-deb
t-prep-newpackage example 1.0
diff --git a/tests/tstunt/dpkg-deb b/tests/tstunt/dpkg-deb
new file mode 100755
index 0000000..acaadf4
--- /dev/null
+++ b/tests/tstunt/dpkg-deb
@@ -0,0 +1,4 @@
+#!/bin/sh
+set -x
+exec \
+"${DGIT_TEST_REAL_DPKG_DEB}" -Znone "$@"