1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
#!/usr/bin/make -f
export DH_GOLANG_INSTALL_EXTRA := x509roots/fallback/bundle.der
%:
dh $@ --builddirectory=_build --buildsystem=golang
execute_after_dh_auto_configure:
cp -av $(CURDIR)/debian/go/src _build/src/golang.org/x/crypto/vendor
override_dh_auto_install:
dh_auto_install -- --no-binaries
# This test takes 2-200 seconds on other archs
# === RUN TestCSHAKELargeS
# panic: test timed out after 25m0s
# running tests:
# TestCSHAKELargeS (24m55s)
# https://ci.debian.net/packages/g/golang-go.crypto/testing/s390x/64949234/
ifneq (,$(filter $(DEB_TARGET_ARCH), s390x))
override_dh_auto_test:
dh_auto_test $(DH_BUILD_OPTS) -- -skip "TestCSHAKELargeS"
endif
|