File: rules

package info (click to toggle)
rust-futures 0.3.31-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 940 kB
  • sloc: makefile: 15
file content (16 lines) | stat: -rwxr-xr-x 368 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f
%:
	dh $@ --buildsystem cargo

DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)

override_dh_auto_test:
ifeq ($(DEB_HOST_ARCH),mips64el)
	echo tests are disabled on mips64el due to build hang.
else
ifeq ($(DEB_HOST_ARCH),mipsel)
	echo tests are disabled on mips64el due to build hang.
else
	dh_auto_test -- test --all || true
endif
endif