From: Julian Andres Klode Date: Tue, 30 Aug 2016 15:37:59 +0000 (+0200) Subject: test: Pass -d to dpkg-buildpackage X-Git-Tag: 1.3_rc3~1 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/9109c3c309e95a6d99a88f945f17c37e5c04c105?ds=inline test: Pass -d to dpkg-buildpackage This works around an issue on Fedora where dpkg complains about missing build-essential: dpkg-checkbuilddeps: Unmet build dependencies: build-essential:native Gbp-Dch: ignore --- diff --git a/test/integration/framework b/test/integration/framework index 9a908a9ec..067cc6e8a 100644 --- a/test/integration/framework +++ b/test/integration/framework @@ -813,7 +813,7 @@ buildpackage() { if [ "$ARCH" = "all" ]; then ARCH="$(dpkg-architecture -qDEB_HOST_ARCH 2> /dev/null)" fi - testsuccess --nomsg dpkg-buildpackage -uc -us -a$ARCH + testsuccess --nomsg dpkg-buildpackage -uc -us -a$ARCH -d cp "${TMPWORKINGDIRECTORY}/rootdir/tmp/testsuccess.output" "$BUILDLOG" local PKGS="$(grep '^dpkg-deb: building package' "$BUILDLOG" | cut -d'/' -f 2 | sed -e "s#'\.##")" local SRCS="$(grep '^dpkg-source: info: building' "$BUILDLOG" | grep -o '[a-z0-9._+~-]*$')"