File: rules

package info (click to toggle)
golang-github-performancecopilot-speed 4.0.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 508 kB
  • sloc: makefile: 38
file content (16 lines) | stat: -rwxr-xr-x 538 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

# Don't build the examples or mmvdump binary
export DH_GOLANG_EXCLUDES := examples/ mmvdump/cmd/mmvdump

%:
	dh $@ --builddirectory=_build --buildsystem=golang --with=golang

# The tests expect test data to match the endianness of the system where the
# tests are run. This breaks tests on s390x (big endian), so for now don't run
# the tests on that architecture. (Reported upstream as
# https://github.com/performancecopilot/speed/issues/64)
override_dh_auto_test:
ifneq ($(DEB_HOST_ARCH),s390x)
	dh_auto_test
endif