| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
# The example programs should not be compiled, and we are not interested in the |
| 4 |
# generator itself either, only its output. |
| 5 |
export DH_GOLANG_EXCLUDES := \ |
| 6 |
google.golang.org/api/google-api-go-generator \ |
| 7 |
google.golang.org/api/examples \ |
| 8 |
google.golang.org/api/internal/ecp \ |
| 9 |
google.golang.org/api/internal/kokoro/discogen \ |
| 10 |
google.golang.org/api/internal/kokoro/synth/sendpr |
| 11 |
|
| 12 |
export DH_GOLANG_INSTALL_EXTRA := internal/testdata/service-account.json |
| 13 |
|
| 14 |
%: |
| 15 |
dh $@ --buildsystem=golang |
| 16 |
|
| 17 |
# Skip tests requires to create credentials or access credentials via Google Cloud environment |
| 18 |
# Skip TestBundlerTimeBasedFlushDeadlock due to timed out after 10m0s on ppc64el |
| 19 |
override_dh_auto_test: |
| 20 |
dh_auto_test -- -short -test.skip="\ |
| 21 |
TestBundlerTimeBasedFlushDeadlock|\ |
| 22 |
TestDial|\ |
| 23 |
TestLogDirectPath|\ |
| 24 |
TestNewClient|\ |
| 25 |
" |