| 1 |
|
| 2 |
|
| 3 |
%: |
| 4 |
dh $@ --builddirectory=_build --buildsystem=golang |
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
SKIP1:=TestSimple/cover|TestScripts/env_var_with_go |
| 9 |
|
| 10 |
|
| 11 |
SKIP2:=TestSetup/overlay/overlay|TestScripts/pty |
| 12 |
override_dh_auto_test: |
| 13 |
-dh_auto_test $(DH_BUILD_OPTS) -- -run="$(SKIP1)|$(SKIP2)" |
| 14 |
patch -N -p1 -i debian/0001-Allow-TestSimple-cover-to-PASS.patch |
| 15 |
GOPROXY= dh_auto_test $(DH_BUILD_OPTS) -- -run="$(SKIP1)" |
| 16 |
patch -R -p1 -i debian/0001-Allow-TestSimple-cover-to-PASS.patch |
| 17 |
rm -fv _build/src/github.com/rogpeppe/go-internal/testscript/testscript.go.orig |
| 18 |
dh_auto_test $(DH_BUILD_OPTS) -- -skip="$(SKIP1)|$(SKIP2)" |