Skipping tests when building non-parallel to fix hanging test suite, thanks to Santiago Vila <sanvila@debian.org> (Closes: #1055218).
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
5433f2e88d
commit
51f66d1e0d
1 changed files with 8 additions and 0 deletions
8
debian/rules
vendored
8
debian/rules
vendored
|
@ -15,6 +15,12 @@ ifeq ($(DEB_HOST_ARCH), i386)
|
|||
PLATFORM = --disable-sse
|
||||
endif
|
||||
|
||||
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
|
||||
NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
|
||||
else
|
||||
NUMJOBS = 1
|
||||
endif
|
||||
|
||||
%:
|
||||
dh ${@}
|
||||
|
||||
|
@ -37,5 +43,7 @@ override_dh_auto_configure:
|
|||
|
||||
override_dh_auto_test:
|
||||
ifneq (,$(filter $(DEB_HOST_ARCH), amd64 arm64 i386))
|
||||
ifneq ($(NUMJOBS), 1)
|
||||
$(MAKE) -j1 check
|
||||
endif
|
||||
endif
|
||||
|
|
Loading…
Add table
Reference in a new issue