diff options
Diffstat (limited to 'debian/tests')
-rw-r--r-- | debian/tests/build | 13 | ||||
-rw-r--r-- | debian/tests/control | 12 |
2 files changed, 22 insertions, 3 deletions
diff --git a/debian/tests/build b/debian/tests/build index b23e556..01b1248 100644 --- a/debian/tests/build +++ b/debian/tests/build @@ -1 +1,12 @@ -#!/bin/true +#!/bin/sh + +set -e + +CPUS=$(getconf _NPROCESSORS_ONLN) +case "$CPUS" in + [0-9]|[0-9][0-9]|[0-9][0-9][0-9]) ;; + *) CPUS=1 +esac + +set -x +DEB_BUILD_OPTIONS="parallel=$CPUS nohppa nomult nocross" dpkg-buildpackage -d -B --no-sign diff --git a/debian/tests/control b/debian/tests/control index 26d0ba8..9b8825f 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -1,6 +1,14 @@ Tests: build -Depends: build-essential -Restrictions: build-needed +# this doesn't work well, without building -hppa, -multiarch and -cross packages +#Depends: build-essential +#Restrictions: build-needed +Depends: build-essential, + fakeroot, + autoconf (>= 2.64), + bison, flex, gettext, texinfo, dejagnu, quilt, chrpath, dwz, + python3, file, xz-utils, lsb-release, zlib1g-dev, procps +# build process emits warnings on stderr +Restrictions: allow-stderr Tests: libc-link Depends: build-essential |